5htp-core 0.2.7-3 → 0.2.7-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp-core",
3
3
  "description": "Convenient TypeScript framework designed for Performance and Productivity.",
4
- "version": "0.2.7-3",
4
+ "version": "0.2.7-4",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
@@ -213,6 +213,8 @@ export default class Console extends Service<Config, Hooks, Application> {
213
213
  console.error(`Error caused by this query:`, printedQuery);
214
214
  }
215
215
  console.error(LogPrefix, `Sending bug report for the following error:`, error);
216
+ if (error.dataForDebugging !== undefined)
217
+ console.error(LogPrefix, `More data about the error:`, error.dataForDebugging);
216
218
 
217
219
  // Prevent spamming the mailbox if infinite loop
218
220
  const bugId = ['server', request?.user?.name, undefined, error.message].filter(e => !!e).join('::');