mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Make timeouts less noisy in stderr
This commit is contained in:
parent
1f79ee6939
commit
783a3ff26d
1 changed files with 6 additions and 0 deletions
|
@ -103,6 +103,12 @@ function errorHandler(err) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (err.message && err.message.startsWith("Request timed out")) {
|
||||
// These are very noisy, so just print the message without stack. The stack trace doesn't really help here anyway.
|
||||
console.error(err.message);
|
||||
return;
|
||||
}
|
||||
|
||||
// tslint:disable:no-console
|
||||
console.error(err);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue