3
0
Fork 0
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:
Dragory 2020-12-19 03:09:24 +02:00
parent 1f79ee6939
commit 783a3ff26d
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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