Skip to content

Commit b97a728

Browse files
committed
Improve error message
1 parent 6c2600c commit b97a728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/photo-slideshow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class PhotoSlideshow {
240240
case 200:
241241
return response.json()
242242
case 404:
243-
throw '404 File not found'
243+
throw `Configuration file '${this.configURL}' not found`
244244
default:
245245
throw `Unexpected response status: ${response.status}`
246246
}

0 commit comments

Comments
 (0)