浏览代码

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

Lennart Grahl 6 年之前
父节点
当前提交
eeb5fde225
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
             }
         }