ghorsington 3 лет назад
Родитель
Сommit
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
     }