فهرست منبع

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
     }