diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-11 00:08:13 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-11-11 00:31:00 +0100 |
| commit | efd57bc38aafdbaebe7978fcb3428fa8b0eabd0c (patch) | |
| tree | 0d39980a63e8c526206b79671a1f5c6d83af32d5 /simulator/opendc-runner-web/src/main/kotlin | |
| parent | 192bb81e8a8e3418c0bd84b751b35b7b1192fcdc (diff) | |
Add support for simulator error reporting via Sentry
Diffstat (limited to 'simulator/opendc-runner-web/src/main/kotlin')
| -rw-r--r-- | simulator/opendc-runner-web/src/main/kotlin/org/opendc/runner/web/Main.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simulator/opendc-runner-web/src/main/kotlin/org/opendc/runner/web/Main.kt b/simulator/opendc-runner-web/src/main/kotlin/org/opendc/runner/web/Main.kt index 80b3bb20..6369fdd8 100644 --- a/simulator/opendc-runner-web/src/main/kotlin/org/opendc/runner/web/Main.kt +++ b/simulator/opendc-runner-web/src/main/kotlin/org/opendc/runner/web/Main.kt @@ -325,7 +325,7 @@ public class RunnerCli : CliktCommand(name = "runner") { logger.info { "Successfully finished scenario $id" } } catch (e: Exception) { - logger.warn(e) { "Scenario failed to finish" } + logger.error(e) { "Scenario failed to finish" } manager.fail(id) } finally { heartbeat.cancel() |
