Skip to content

Commit

Permalink
Merge pull request #53 from hmrc/APID-187
Browse files Browse the repository at this point in the history
APID-187: add logging when returning a 400 for a missing id
  • Loading branch information
aerodigi authored Jul 21, 2021
2 parents 4b9c5c0 + 98e5a5e commit 32a5eba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class ConfirmationController @Inject()(cc: ControllerComponents,
NotFound
}
} else {
logger.warn(s"Unable to find RelatesTo id in [$id]. Request is ${xml}")
Future.successful(BadRequest)
}
}
Expand Down

0 comments on commit 32a5eba

Please sign in to comment.