diff --git a/dd-java-agent/instrumentation/play-2.3/src/test/scala/server/SyncServer.scala b/dd-java-agent/instrumentation/play-2.3/src/test/scala/server/SyncServer.scala index 2565127ecb..602a14c70e 100644 --- a/dd-java-agent/instrumentation/play-2.3/src/test/scala/server/SyncServer.scala +++ b/dd-java-agent/instrumentation/play-2.3/src/test/scala/server/SyncServer.scala @@ -17,7 +17,7 @@ object SyncServer { HttpServerTest.controller(QUERY_PARAM, new ControllerClosureAdapter(Results.Status(QUERY_PARAM.getStatus).apply(QUERY_PARAM.getBody))) } case ("GET", "/error-status") => Action { request => - HttpServerTest.controller(QUERY_PARAM, new ControllerClosureAdapter(Results.Status(ERROR.getStatus).apply(ERROR.getBody))) + HttpServerTest.controller(ERROR, new ControllerClosureAdapter(Results.Status(ERROR.getStatus).apply(ERROR.getBody))) } case ("GET", "/exception") => Action { request => HttpServerTest.controller(EXCEPTION, new BlockClosureAdapter(() => {