err.stack
This commit is contained in:
parent
a3d7869877
commit
7526aa1eeb
1 changed files with 1 additions and 1 deletions
|
|
@ -35,6 +35,6 @@ module.exports = async () => {
|
||||||
|
|
||||||
uniqueLogs.forEach(ip => updateSefinekAPIInCSV(ip.rayId, true));
|
uniqueLogs.forEach(ip => updateSefinekAPIInCSV(ip.rayId, true));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
log('error', `Failed to send logs to Sefinek API. Status: ${err.response?.status || err.status}. Message: ${err.response?.data?.message || 'Unknown error.'}`);
|
log('error', `Failed to send logs to Sefinek API. Status: ${err.status}. Message: ${err.response?.data?.message || err.stack}`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Add table
Reference in a new issue