Explorar el Código

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

Lennart Grahl hace 6 años
padre
commit
eeb5fde225
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
             }
         }