mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Synthetics] Removing passing of error object to logger.error as meta parameter (#161276)
This commit is contained in:
parent
42bc85f91f
commit
6b52658af7
1 changed files with 3 additions and 2 deletions
|
@ -238,9 +238,10 @@ export class SyntheticsService {
|
|||
stackVersion: this.server.stackVersion,
|
||||
});
|
||||
|
||||
this.logger?.error(e);
|
||||
|
||||
this.logger?.error(
|
||||
`Error running task: ${SYNTHETICS_SERVICE_SYNC_MONITORS_TASK_ID}, `,
|
||||
e?.message ?? e
|
||||
`Error running synthetics syncs task: ${SYNTHETICS_SERVICE_SYNC_MONITORS_TASK_ID}, ${e?.message}`
|
||||
);
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue