refactor: machar stack
This commit is contained in:
parent
f356188491
commit
a68fe26952
|
@ -121,8 +121,8 @@ module.exports = Self => {
|
|||
};
|
||||
await fetch(ostUri, params);
|
||||
} catch (e) {
|
||||
const err = new Error(`${ticketId} Ticket close failed: ${e.message}`);
|
||||
err.stack += e.stack;
|
||||
const err = new Error(`$s{ticketId} Ticket close failed: ${e.message}`);
|
||||
err.stack = e.stack;
|
||||
console.error(err);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue