diff --git a/packages/node_modules/overmind/src/index.ts b/packages/node_modules/overmind/src/index.ts index 6dd58605..1fa3c72a 100644 --- a/packages/node_modules/overmind/src/index.ts +++ b/packages/node_modules/overmind/src/index.ts @@ -461,7 +461,7 @@ export class Overmind implements Configuration { this.eventHub.emit(EventType.EFFECT, { ...execution, ...effect, - result: promisedResult, + result: safeValue(promisedResult), isPending: false, error: false, }) @@ -479,7 +479,7 @@ export class Overmind implements Configuration { this.eventHub.emit(EventType.EFFECT, { ...execution, ...effect, - result, + result: safeValue(result), isPending: false, error: false, })