Browse Source

Only warn when getting an error in safeDestroy

JC Brand 3 years ago
parent
commit
a17e8bea1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/headless/plugins/chat/message.js

+ 1 - 1
src/headless/plugins/chat/message.js

@@ -101,7 +101,7 @@ const MessageMixin = {
         try {
             this.destroy();
         } catch (e) {
-            log.error(e);
+            log.warn(`safeDestroy: ${e}`);
         }
     },