Skip to content

Commit

Permalink
Fixed the Response Case class
Browse files Browse the repository at this point in the history
  • Loading branch information
badrinathpatchikolla committed May 22, 2023
1 parent e0fb4b1 commit f7c1167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit f7c1167

Please sign in to comment.