inbox service: catch all errors to avoid service crash

This commit is contained in:
Benjamin Gamard 2018-03-04 16:10:32 +01:00
parent 1b05261a97
commit 44a1389dd7
3 changed files with 5 additions and 3 deletions

View File

@ -56,7 +56,7 @@ public class InboxService extends AbstractScheduledService {
protected void runOneIteration() {
try {
syncInbox();
} catch (Exception e) {
} catch (Throwable e) {
log.error("Exception during inbox synching", e);
}
}

View File

@ -291,7 +291,7 @@
"type_approve": "Approve",
"type_validate": "Validate",
"target": "Assigned to",
"target_help": "<strong>Approve:</strong> Review and continue the workflow<br/><strong>Validate:</strong> Accept or reject the review",
"target_help": "<strong>Approve:</strong> Accept or reject the review<br/><strong>Validate:</strong> Review and continue the workflow",
"add_step": "Add a workflow step"
}
},

View File

@ -38,7 +38,7 @@
<div class="col-xs-10 input-group">
<input type="search" class="form-control" ng-attr-placeholder="{{ 'document.search' | translate }}" ng-model="search" />
<span class="input-group-addon pointer" ng-click="openSearch()">
<span class="input-group-addon btn" ng-click="openSearch()">
<div uib-dropdown
auto-close="disabled" is-open="searchOpened" dropdown-append-to="searchDropdownAnchor">
<span class="btn-open-search">
@ -188,6 +188,8 @@
</select>
</div>
<a class="text-center"><span class="glyphicon glyphicon-plus"></span> Add this search query on the home</a>
<div class="pull-left" title="{{ 'document.upgrade_quota' | translate }}"
translate="document.quota"
translate-values="{ current: userInfo.storage_current / 1000000, percent: userInfo.storage_current / userInfo.storage_quota * 100, total: userInfo.storage_quota / 1000000 }">