refactor: machar stack

This commit is contained in:
Vicent Llopis 2023-01-05 15:01:20 +01:00
parent f356188491
commit a68fe26952
1 changed files with 2 additions and 2 deletions

View File

@ -121,8 +121,8 @@ module.exports = Self => {
}; };
await fetch(ostUri, params); await fetch(ostUri, params);
} catch (e) { } catch (e) {
const err = new Error(`${ticketId} Ticket close failed: ${e.message}`); const err = new Error(`$s{ticketId} Ticket close failed: ${e.message}`);
err.stack += e.stack; err.stack = e.stack;
console.error(err); console.error(err);
} }
} }