|
@@ -119,7 +119,7 @@ export default class AppService implements S2sMessageHandlable {
|
|
|
this.crowi.setupGlobalErrorHandlers();
|
|
this.crowi.setupGlobalErrorHandlers();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- async useMaintenanceMode(operation: (...args: any[]) => any): Promise<void> {
|
|
|
|
|
|
|
+ async useMaintenanceMode(operation: () => Promise<void> | void): Promise<void> {
|
|
|
try {
|
|
try {
|
|
|
await this.startMaintenanceMode();
|
|
await this.startMaintenanceMode();
|
|
|
|
|
|