We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a30fc commit 1662347Copy full SHA for 1662347
packages/node_modules/overmind/src/index.ts
@@ -461,7 +461,7 @@ export class Overmind<Config extends Configuration> implements Configuration {
461
this.eventHub.emit(EventType.EFFECT, {
462
...execution,
463
...effect,
464
- result: promisedResult,
+ result: safeValue(promisedResult),
465
isPending: false,
466
error: false,
467
})
@@ -479,7 +479,7 @@ export class Overmind<Config extends Configuration> implements Configuration {
479
480
481
482
- result,
+ result: safeValue(result),
483
484
485
0 commit comments