From 77d0239ea69af2ba5a7d7ec30da4941d59d48e70 Mon Sep 17 00:00:00 2001 From: Nicolas Martignole Date: Sat, 18 Apr 2015 18:23:44 +0200 Subject: [PATCH] feat(opsgenie): Working on Ops Genie integration --- app/controllers/Status.scala | 2 +- app/library/ZapActor.scala | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/Status.scala b/app/controllers/Status.scala index aa9ec9e1b..9c2af54e5 100644 --- a/app/controllers/Status.scala +++ b/app/controllers/Status.scala @@ -29,7 +29,7 @@ import play.api.mvc.{Action, Controller} /** * A simple Status controller for Redis. * - * This is important to link with OPS-Genie alerts. + * This is important to link with OPS-Genie alerts. Used from ZapActor SendHeartbeat. * * @author created by N.Martignole, Innoteria, on 17/10/2014. */ diff --git a/app/library/ZapActor.scala b/app/library/ZapActor.scala index 4a63a10bc..28b981092 100644 --- a/app/library/ZapActor.scala +++ b/app/library/ZapActor.scala @@ -280,6 +280,7 @@ class ZapActor extends Actor { case other => play.Logger.error(s"Unable to read response from OpsGenie server ${result.status} ${result.statusText}") + play.Logger.error(s"Response body ${result.body}") } }