silgi 0.25.9 → 0.25.10
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/dist/cli/index.mjs
CHANGED
|
@@ -244,7 +244,7 @@ async function h3Framework(silgi, skip = false) {
|
|
|
244
244
|
silgi.hook("prepare:core.ts", (data) => {
|
|
245
245
|
data._silgiConfigs.push(`captureError: (silgi, error, context = {}) => {
|
|
246
246
|
const promise = silgi.hooks
|
|
247
|
-
.callHookParallel('error', error, context)
|
|
247
|
+
.callHookParallel('error', error, context, silgi)
|
|
248
248
|
.catch((error_) => {
|
|
249
249
|
console.error('Error while capturing another error', error_)
|
|
250
250
|
})
|