mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17:57 +01:00
inbox service: catch all errors to avoid service crash
This commit is contained in:
parent
1b05261a97
commit
44a1389dd7
@ -56,7 +56,7 @@ public class InboxService extends AbstractScheduledService {
|
|||||||
protected void runOneIteration() {
|
protected void runOneIteration() {
|
||||||
try {
|
try {
|
||||||
syncInbox();
|
syncInbox();
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
log.error("Exception during inbox synching", e);
|
log.error("Exception during inbox synching", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -291,7 +291,7 @@
|
|||||||
"type_approve": "Approve",
|
"type_approve": "Approve",
|
||||||
"type_validate": "Validate",
|
"type_validate": "Validate",
|
||||||
"target": "Assigned to",
|
"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"
|
"add_step": "Add a workflow step"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<div class="col-xs-10 input-group">
|
<div class="col-xs-10 input-group">
|
||||||
<input type="search" class="form-control" ng-attr-placeholder="{{ 'document.search' | translate }}" ng-model="search" />
|
<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
|
<div uib-dropdown
|
||||||
auto-close="disabled" is-open="searchOpened" dropdown-append-to="searchDropdownAnchor">
|
auto-close="disabled" is-open="searchOpened" dropdown-append-to="searchDropdownAnchor">
|
||||||
<span class="btn-open-search">
|
<span class="btn-open-search">
|
||||||
@ -188,6 +188,8 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</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 }}"
|
<div class="pull-left" title="{{ 'document.upgrade_quota' | translate }}"
|
||||||
translate="document.quota"
|
translate="document.quota"
|
||||||
translate-values="{ current: userInfo.storage_current / 1000000, percent: userInfo.storage_current / userInfo.storage_quota * 100, total: userInfo.storage_quota / 1000000 }">
|
translate-values="{ current: userInfo.storage_current / 1000000, percent: userInfo.storage_current / userInfo.storage_quota * 100, total: userInfo.storage_quota / 1000000 }">
|
||||||
|
Loading…
Reference in New Issue
Block a user