}\r
\r
// update push log\r
- PushLogUtils.updatePushLog(user, rp.getRepository(), commands);\r
- logger.info(MessageFormat.format("{0} push log updated", repository.name));\r
+ try {\r
+ PushLogUtils.updatePushLog(user, rp.getRepository(), commands);\r
+ logger.info(MessageFormat.format("{0} push log updated", repository.name));\r
+ } catch (Exception e) {\r
+ logger.error(MessageFormat.format("Failed to update {0} pushlog", repository.name), e);\r
+ }\r
\r
// run Groovy hook scripts \r
Set<String> scripts = new LinkedHashSet<String>();\r