reduce log spam from DownloadService
This commit is contained in:
parent
2854e15301
commit
6d6e1dc0c0
2 changed files with 10 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue