Explorar o código

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

Lennart Grahl %!s(int64=6) %!d(string=hai) anos
pai
achega
eeb5fde225
Modificáronse 1 ficheiros con 1 adicións e 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;
             }
         }