mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 05:53:08 +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 {
|
throws AuthorizeException, RepositoryMethodNotImplementedException {
|
||||||
try {
|
try {
|
||||||
processService.delete(context, processService.find(context, integer));
|
processService.delete(context, processService.find(context, integer));
|
||||||
} catch (SQLException e) {
|
} catch (SQLException | IOException e) {
|
||||||
e.printStackTrace();
|
log.error("Something went wrong trying to find Process with id: " + integer);
|
||||||
} catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user