refactor: stack
This commit is contained in:
parent
a0b506ccf4
commit
629f410a10
|
@ -97,7 +97,7 @@ const Decoder = (latus) => class Decoder extends decorate(class {}) {
|
|||
});
|
||||
}
|
||||
catch (error) {
|
||||
const next = new Error(`Couldn't unpack ${Packet.type}(${view}): ${error.message}`);
|
||||
const next = new Error(`Couldn't unpack ${Packet.type}(${view}): ${error.stack}`);
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(next);
|
||||
throw next;
|
||||
|
|
Loading…
Reference in New Issue
Block a user