ghorsington преди 3 години
родител
ревизия
35846cc168
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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}`);
     let contents = `${reason}`;
     try {
-        contents = inspect(reason, true);
+        contents = inspect(reason, true, null);
     } catch (e) { 
         // ignored
     }