瀏覽代碼

Log everything

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
     }