3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 00:05:04 +00:00

Make timeouts less noisy in stderr

This commit is contained in:
Dragory 2020-12-19 03:09:24 +02:00
parent 79cbe5f886
commit 909ce4c059

View file

@ -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);