Skip to content

Commit

Permalink
APID-192 - removed extra curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprakashiv committed Jul 7, 2021
1 parent 615cb2b commit 36a46a0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ class OutboundConnector @Inject()(
case Left(UpstreamErrorResponse(_, statusCode, _, _)) =>
logger.warn(requestLogMessage(statusCode))
statusCode
case Right(response: HttpResponse) => {
case Right(response: HttpResponse) =>
if (response.status != HttpStatus.SC_ACCEPTED) {
logger.warn(requestLogMessage(response.status))
}
response.status
}
}
}

Expand Down

0 comments on commit 36a46a0

Please sign in to comment.