Skip to content

Commit

Permalink
ExtensionSchemaRestController: fixed comment mentioning RestServiceUtil
Browse files Browse the repository at this point in the history
It's gone now.
  • Loading branch information
virgo47 committed May 25, 2020
1 parent 1ce20df commit 4c3fed3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -66,7 +66,7 @@ public ResponseEntity<?> listSchemas() {
String output = StringUtils.join(names, "\n");
response = ResponseEntity.ok(output);
} catch (Exception ex) {
// we avoid RestServiceUtil.handleException because we cannot serialize OperationResultType into text/plain
// we can't use handleException because we cannot serialize OperationResultType into text/plain
LoggingUtils.logUnexpectedException(logger, "Got exception while servicing REST request: {}", ex, result.getOperation());
response = ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
.body(ex.getMessage()); // TODO handle this somehow better
Expand Down

0 comments on commit 4c3fed3

Please sign in to comment.