Update
This commit is contained in:
parent
e62e54c9cd
commit
61c252cfac
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ module.exports = async () => {
|
|||
} catch (err) {
|
||||
if (!err.response?.data?.message?.includes('No valid or unique')) {
|
||||
const msg = err.response?.data?.message[0] || err.response?.data?.message || err.message;
|
||||
log(2, `Failed to send logs to Sefinek API! Status: ${err.response?.status ?? 'Unknown'}; Message: ${msg}`);
|
||||
log(2, `Failed to send logs to Sefinek API! Status: ${err.response?.status ?? 'Unknown'}; Message: ${typeof msg === 'object' ? JSON.stringify(msg) : msg}`);
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue