Skip to content

Commit

Permalink
Fix uncaught exception when runner executes
Browse files Browse the repository at this point in the history
  • Loading branch information
wezhang committed Mar 5, 2020
1 parent aab3f12 commit 3483114
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ object RunConfigurationActionUtils: ILogger {
}, {
environment.assignNewExecutionId()

runner.execute(environment)
try {
runner.execute(environment)
} catch (err: ExecutionException) {
ProgramRunnerUtil.handleExecutionError(environment.project, environment, err, setting.configuration)
}
})
}

Expand Down

0 comments on commit 3483114

Please sign in to comment.