ghorsington před 4 roky
rodič
revize
35846cc168
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      bot/src/logging.ts

+ 1 - 1
bot/src/logging.ts

@@ -29,7 +29,7 @@ process.on("unhandledRejection", (reason) => {
         throw new Error(`Unhandled rejection: ${reason}\nFull stack trace: ${reason.stack}`);
         throw new Error(`Unhandled rejection: ${reason}\nFull stack trace: ${reason.stack}`);
     let contents = `${reason}`;
     let contents = `${reason}`;
     try {
     try {
-        contents = inspect(reason, true);
+        contents = inspect(reason, true, null);
     } catch (e) { 
     } catch (e) { 
         // ignored
         // ignored
     }
     }