From efd57bc38aafdbaebe7978fcb3428fa8b0eabd0c Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 11 Nov 2020 00:08:13 +0100 Subject: Add support for simulator error reporting via Sentry --- .../opendc-runner-web/src/main/kotlin/org/opendc/runner/web/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'simulator/opendc-runner-web/src/main/kotlin') 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() -- cgit v1.2.3