Skip to content

Commit 1c9fda5

Browse files
author
Bart Veneman
committed
respond with original statusCode
1 parent 3fcb0da commit 1c9fda5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v2/_extract-css-basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class HttpError extends Error {
9191
}
9292

9393
this.url = url
94-
this.statusCode = code
94+
this.statusCode = statusCode
9595
this.message = `The origin server at "${url}" errored with statusCode ${statusCode}`
9696
this.originalMessage = originalMessage
9797
}

0 commit comments

Comments
 (0)