mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
log errors when Deserialize fails
This commit is contained in:
parent
a25648f8e2
commit
e04fde7084
@ -21,7 +21,10 @@
|
||||
}
|
||||
deserializer.deserialize();
|
||||
} catch (e) {
|
||||
onError(e);
|
||||
console.error(e);
|
||||
if (typeof onError === 'function') {
|
||||
onError(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user