VIVO-864 add logging statements
This commit is contained in:
parent
18c3f769ee
commit
39e7a818c2
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@ public class SparqlUpdateApiController extends VitroApiServlet {
|
|||
@Override
|
||||
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
|
||||
throws ServletException, IOException {
|
||||
log.debug("Starting update");
|
||||
try {
|
||||
confirmAuthorization(req, REQUIRED_ACTIONS);
|
||||
UpdateRequest parsed = parseUpdateString(req);
|
||||
|
@ -67,6 +68,7 @@ public class SparqlUpdateApiController extends VitroApiServlet {
|
|||
} catch (Exception e) {
|
||||
do500response(resp, e);
|
||||
}
|
||||
log.debug("Update complete");
|
||||
}
|
||||
|
||||
private UpdateRequest parseUpdateString(HttpServletRequest req)
|
||||
|
|
Loading…
Add table
Reference in a new issue