Skip to content

Commit

Permalink
fix-500-on-keys-retrieve: Handle client not found on key retrieve
Browse files Browse the repository at this point in the history
  • Loading branch information
galales committed Sep 7, 2023
1 parent c6dff2d commit a7c2df9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ object ClientApiHandlers extends AkkaResponses {
result match {
case Success(s) => success(s)
case Failure(ex: OrganizationNotAllowedOnClient) => forbidden(ex, logMessage)
case Failure(ex: ClientNotFound) => notFound(ex, logMessage)
case Failure(ex: ClientKeyNotFound) => notFound(ex, logMessage)
case Failure(ex) => internalServerError(ex, logMessage)
}
Expand Down

0 comments on commit a7c2df9

Please sign in to comment.