mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Added more descriptive log to the ProcessRestRepository#delete method
This commit is contained in:
@@ -174,10 +174,8 @@ public class ProcessRestRepository extends DSpaceRestRepository<ProcessRest, Int
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user