From f7c1167ca1629a6e55000951c5adfbfb4ab62954 Mon Sep 17 00:00:00 2001 From: badrinathpatchikolla Date: Mon, 22 May 2023 23:17:43 +0530 Subject: [PATCH] Fixed the Response Case class --- .../github/music/of/the/ainur/almaren/http/HTTPConnector.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/music/of/the/ainur/almaren/http/HTTPConnector.scala b/src/main/scala/com/github/music/of/the/ainur/almaren/http/HTTPConnector.scala index 2b06204..7b8fbc8 100644 --- a/src/main/scala/com/github/music/of/the/ainur/almaren/http/HTTPConnector.scala +++ b/src/main/scala/com/github/music/of/the/ainur/almaren/http/HTTPConnector.scala @@ -98,7 +98,7 @@ private[almaren] case class HTTP( case Failure(re: RequestFailedException) => getResponse(re.response) case Failure(f) => { logger.error("Almaren HTTP Request Error", f) - Response(id, `__ERROR__` = Some(f.getMessage), `__ELAPSED_TIME__` = elapsedTime, `__URL__` = url) + Response(id, `__ERROR__` = Some(f.getMessage), `__ELAPSED_TIME__` = elapsedTime, `__URL__` = url, `__DATA__` = data) } } }