1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

More tweaks

This commit is contained in:
Laurent Cozic
2017-07-28 18:13:07 +00:00
parent f228b48365
commit b81111743f
24 changed files with 96 additions and 250 deletions

View File

@@ -238,7 +238,7 @@ class OneDriveApi {
async refreshAccessToken() {
if (!this.auth_ || !this.auth_.refresh_token) {
this.setAuth(null);
throw new Error('Cannot refresh token: authentication data is missing');
throw new Error(_('Cannot refresh token: authentication data is missing. Starting the synchronisation again may fix the problem.'));
}
let body = new shim.FormData();