Commit 45d0a0a1 authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Add warn for server timeout

parent e1563765
......@@ -102,6 +102,7 @@ class Crawler extends Transform {
// if the server is not reacting wait for a timeout and then call the callback
setTimeout(() => {
if(!foundServer) {
this.logger.warn('Too fast. ServerTimeout triggered');
}, this.serverTimeout)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment