We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0fb23e commit 361ece6Copy full SHA for 361ece6
1 file changed
test/integration/modules/image.spec.ts
@@ -30,7 +30,7 @@ async function assertWorkingUrl(address: string): Promise<void> {
30
https
31
.get(address, ({ statusCode, headers: { location } }) => {
32
if (statusCode == null) {
33
- reject(new Error(`No StatusCode, expected 200`));
+ reject(new Error(`No StatusCode, expected 200 for '${address}'`));
34
} else if (statusCode === 200) {
35
resolve(true);
36
} else if (statusCode >= 300 && statusCode < 400 && location) {
@@ -47,7 +47,7 @@ async function assertWorkingUrl(address: string): Promise<void> {
47
} else {
48
reject(
49
new Error(
50
- `Bad StatusCode ${statusCode} expected 200 for '${location}'`
+ `Bad StatusCode ${statusCode} expected 200 for '${address}'`
51
)
52
);
53
}
0 commit comments