Skip to content

Commit

Permalink
Added more descriptive log to the ProcessRestRepository#delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
Raf-atmire committed May 28, 2020
1 parent 8045194 commit ce9ba12
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,8 @@ protected void delete(Context context, Integer integer)
throws AuthorizeException, RepositoryMethodNotImplementedException {
try {
processService.delete(context, processService.find(context, integer));
} catch (SQLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} catch (SQLException | IOException e) {
log.error("Something went wrong trying to find Process with id: " + integer);
}
}

Expand Down

0 comments on commit ce9ba12

Please sign in to comment.