Merge branch 'enhance/log-backend-error-objects' into 'develop'
Log backend error objects See merge request firefish/firefish!10528
This commit is contained in:
commit
a7fbc02ca5
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,10 @@ export default class Logger {
|
|||
|
||||
console.log(important ? chalk.bold(log) : log);
|
||||
|
||||
if (level === "error" && data !== null) {
|
||||
console.log(data);
|
||||
}
|
||||
|
||||
if (store) {
|
||||
if (this.syslogClient) {
|
||||
const send =
|
||||
|
|
Loading…
Reference in a new issue