Skip to content
Snippets Groups Projects
Commit c28f0cd6 authored by Justin Dex's avatar Justin Dex
Browse files

change http status code


Signed-off-by: default avatarJustin Dex <justin.dex@msg-david.de>
parent 3f76e2d0
No related branches found
No related tags found
No related merge requests found
Pipeline #50936 failed
......@@ -202,7 +202,7 @@ public class ConversionController {
} catch (IOException e) {
return new ResponseEntity<>("Shacl conversion failed <-> Bad Input", HttpStatus.BAD_REQUEST);
} catch (Exception e) {
return new ResponseEntity<>("Error: " + e.getMessage(), HttpStatus.BAD_REQUEST);
return new ResponseEntity<>("Error: " + e.getMessage(), HttpStatus.INTERNAL_SERVER_ERROR);
}
return new ResponseEntity<>(response, HttpStatus.OK);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment