Browse Source

Log the stack trace when unable to handle an incoming wire message

Lennart Grahl 6 năm trước cách đây
mục cha
commit
eeb5fde225
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/services/webclient.ts

+ 1 - 1
src/services/webclient.ts

@@ -3918,7 +3918,7 @@ export class WebClientService {
             try {
                 messageHandler.apply(this, [message.subType, message]);
             } catch (error) {
-                this.$log.error(this.logTag, `Unable to handle incoming wire message: ${error}`);
+                this.$log.error(this.logTag, `Unable to handle incoming wire message: ${error}`, error.stack);
                 return;
             }
         }