change error ms

This commit is contained in:
Ruben van de Ven 2020-10-21 10:27:36 +02:00
parent 8a3011587d
commit 692acc644c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fetch(request)
if (response.status === 200) { if (response.status === 200) {
return response.json(); return response.json();
} else { } else {
throw new Error('Something went wrong on api server!'); throw new Error('Something went wrong fetching the image!');
} }
}) })
.then(data => { .then(data => {