@envelop/core
Advanced tools
Comparing version
@@ -489,4 +489,5 @@ 'use strict'; | ||
const afterCalls = []; | ||
// In order to have access to the "last working" context object we keep this outside of the try block: | ||
let context = orchestratorCtx ? { ...initialContext, ...orchestratorCtx } : initialContext; | ||
try { | ||
let context = orchestratorCtx ? { ...initialContext, ...orchestratorCtx } : initialContext; | ||
let isBreakingContextBuilding = false; | ||
@@ -524,2 +525,3 @@ for (const onContext of beforeCallbacks.context) { | ||
errorCb({ | ||
context, | ||
error, | ||
@@ -526,0 +528,0 @@ setError: err => { |
{ | ||
"name": "@envelop/core", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"sideEffects": false, | ||
@@ -9,3 +9,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@envelop/types": "2.1.0" | ||
"@envelop/types": "2.2.0" | ||
}, | ||
@@ -12,0 +12,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
109529
0.26%2726
0.15%+ Added
- Removed
Updated