mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Merge branch 'master' of github.com:laurent22/joplin
This commit is contained in:
commit
c0dd8d0332
@ -266,7 +266,7 @@ class Synchronizer {
|
|||||||
if (!options) options = {};
|
if (!options) options = {};
|
||||||
|
|
||||||
if (this.state() != 'idle') {
|
if (this.state() != 'idle') {
|
||||||
let error = new Error(_('Synchronisation is already in progress. State: %s', this.state()));
|
let error = new Error(sprintf('Synchronisation is already in progress. State: %s', this.state()));
|
||||||
error.code = 'alreadyStarted';
|
error.code = 'alreadyStarted';
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user