Skip to content

Commit

Permalink
Remove backend address info from error log
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
Page- committed Oct 30, 2024
1 parent 3fce075 commit b41948b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/device-logs/lib/backends/loki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class LokiBackend implements DeviceLogsBackend {
streams.push(...queryResponse.getStreamsList());
});
call.on('error', (error: Error & { details: string }) => {
const message = `Failed to query logs from ${lokiQueryAddress} for device ${ctx.uuid}`;
const message = `Failed to query logs for device ${ctx.uuid}`;
captureException(error, message);
reject(new BadRequestError(message));
});
Expand Down

0 comments on commit b41948b

Please sign in to comment.