Skip to content

Commit d20b247

Browse files
authored
fix: log health check errors as errors instead of warnings (#2555)
This PR changes the logging level for health check errors from warnings to errors to better reflect the severity of the issues.
1 parent e962d6f commit d20b247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/domain/health/health.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class HealthRepository implements IHealthRepository {
7171

7272
private logHealthCheckError(error: unknown): void {
7373
if (error instanceof HealthCheckError) {
74-
this.loggingService.warn(error.message);
74+
this.loggingService.error(error.message);
7575
}
7676
}
7777
}

0 commit comments

Comments
 (0)