Skip to content

Commit cb46569

Browse files
committed
Handle critical errors.
1 parent 0bd51b0 commit cb46569

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/chart/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = (client) => class HistorySession {
5959
}
6060
}
6161

62-
if (packet.type === 'request_error') {
62+
if (['request_error', 'critical_error'].includes(packet.type)) {
6363
const [, name, description] = packet.data;
6464
this.#handleError('Critical error:', name, description);
6565
}

0 commit comments

Comments
 (0)