reduce log spam from QueueProcessorService

This commit is contained in:
Hazelnoot 2025-05-25 14:51:10 -04:00
parent 3e9ca84347
commit 22653efdc4
3 changed files with 141 additions and 50 deletions

View file

@ -34,6 +34,9 @@ function renderTo(err: unknown, parts: string[]): void {
}
function printError(err: unknown): string {
if (err === undefined) return 'undefined';
if (err === null) return 'null';
if (err instanceof IdentifiableError) {
if (err.message) {
return `${err.name} ${err.id}: ${err.message}`;