Skip to content

Commit fd5908a

Browse files
committed
Improve error handling if error is rethrown. If not handled the exception might interfere.
1 parent 4655c08 commit fd5908a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/scripts/RunGPURunner.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ export async function HandleRunner(runner: GPURunner) {
220220
case RunnerType.BENCHMARK:
221221
return HandleBenchmark(runner)
222222
}
223+
}).catch(e => {
224+
console.error("Error during HandleRunner", e)
223225
})
224226
await mutex
225227
}

0 commit comments

Comments
 (0)