Skip to content

Commit

Permalink
chore: enrich error message
Browse files Browse the repository at this point in the history
help the user to better find error infos
  • Loading branch information
janz93 committed Dec 11, 2024
1 parent c627933 commit 8f71c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/setup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
})
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
throw new Error('Server response was not ok');
}
return response.json();
})
Expand Down Expand Up @@ -52,7 +52,7 @@ <h2>User has been created</h2>
<div class="pico-background-red">
<h2>Something went wrong</h2>
<p>${error.message}</p>
<p>Check the logs for more information</p>
<p>Check the console and logs for more information</p>
</div>
`;
});
Expand Down

0 comments on commit 8f71c10

Please sign in to comment.