mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
added try - catch in api and handleError methods
This commit is contained in:
@@ -36,7 +36,7 @@ export class AuthenticationApi extends RepoApi {
|
||||
await this.apiAuth();
|
||||
await this.alfrescoJsApi.logout();
|
||||
} catch (error) {
|
||||
console.log('--- authentication api logout catch error: ', error);
|
||||
this.handleError(`${this.constructor.name} ${this.logout.name}`, error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user