Fix: show sync start error (#1016)
* Update lock file * Fix: the first sync doesn't collect error messages
This commit is contained in:
parent
54b1f218e0
commit
7d93608186
|
@ -192,6 +192,7 @@ const sync = (() => {
|
|||
.catch(handle401Error)
|
||||
.then(() => syncNow()),
|
||||
err => {
|
||||
status.errorMessage = err ? err.message : null;
|
||||
// FIXME: should we move this logic to options.js?
|
||||
if (err && !fromPref) {
|
||||
console.error(err);
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Stylus",
|
||||
"version": "1.5.12",
|
||||
"version": "1.5.13",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user