Skip to content

Commit c725378

Browse files
fix(overmind): throw errors in dev on promise action
1 parent ba4a7a3 commit c725378

File tree

1 file changed

+2
-0
lines changed
  • packages/node_modules/overmind/src

1 file changed

+2
-0
lines changed

packages/node_modules/overmind/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,8 @@ export class Overmind<ThisConfig extends IConfiguration>
615615
error: error.message,
616616
})
617617
this.eventHub.emit(EventType.ACTION_END, execution)
618+
619+
throw error
618620
})
619621
} else {
620622
execution.isRunning = false

0 commit comments

Comments
 (0)