reduce log spam from DownloadService

This commit is contained in:
Hazelnoot 2025-05-22 09:53:13 -04:00
parent 2854e15301
commit 6d6e1dc0c0
2 changed files with 10 additions and 9 deletions

View file

@ -9,8 +9,8 @@ export class StatusError extends Error {
public isClientError: boolean;
public isRetryable: boolean;
constructor(message: string, statusCode: number, statusMessage?: string) {
super(message);
constructor(message: string, statusCode: number, statusMessage?: string, options?: ErrorOptions) {
super(message, options);
this.name = 'StatusError';
this.statusCode = statusCode;
this.statusMessage = statusMessage;