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,8 +21,11 @@
|
||||
}
|
||||
deserializer.deserialize();
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
if (typeof onError === 'function') {
|
||||
onError(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
ns.Deserializer.prototype.deserialize = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user