@stacksjs/error-handling 0.58.62 → 0.58.64

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/handler.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.58.62",
4
+ "version": "0.58.64",
5
5
  "description": "Type safe error handling.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
package/src/handler.ts CHANGED
@@ -10,7 +10,7 @@ export class ErrorHandler {
10
10
  static logFile = logsPath('errors.log')
11
11
 
12
12
  static handle(err: ErrorDescription | Error, options?: ErrorOptions | Error) {
13
- // lets only write to the console if we are not in silent mode
13
+ // let's only write to the console if we are not in silent mode
14
14
  if (!(options instanceof Error) && options?.silent !== false)
15
15
  this.writeErrorToConsole(err, options)
16
16