Skip to content

Commit e7eed6f

Browse files
authored
Fix an issue where hosting upload errors were swallowed by a circular JSON error (#9732)
1 parent 0d671dc commit e7eed6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/deploy/hosting/uploader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export class Uploader {
250250
logger.debug(
251251
`[hosting][upload] ${this.hashMap[toUpload]} (${toUpload}) HTTP ERROR ${
252252
res.status
253-
}: headers=${JSON.stringify(res.response.headers)} ${errorMessage}`,
253+
}: headers=${JSON.stringify(res.response.headers.raw())} ${errorMessage}`,
254254
);
255255
throw new Error(`Unexpected error while uploading file: ${errorMessage}`);
256256
}

0 commit comments

Comments
 (0)