Skip to content

Commit

Permalink
[SHIBUI-906]
Browse files Browse the repository at this point in the history
Exception handling cleanup.
  • Loading branch information
Bill Smith committed Nov 8, 2018
1 parent 561efb4 commit d3949ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class MetadataSourcesUiDefinitionController {
jsonSchemaBuilderService.addRelyingPartyOverridesCollectionDefinitionsToJson(parsedJson["definitions"])
return ResponseEntity.ok(parsedJson)
}
catch (Exception e) {
logger.error("An error occured while attempting to get json schema for metadata sources!", e)
catch (IOException e) {
logger.error("An error occurred while attempting to get json schema for metadata sources!", e)
return ResponseEntity.status(INTERNAL_SERVER_ERROR)
.body([jsonParseError : e.getMessage(),
sourceUiSchemaDefinitionFile: this.jsonSchemaLocation.url])
Expand Down

0 comments on commit d3949ef

Please sign in to comment.