Skip to content

Commit

Permalink
fix: Adds logging to dev server if management response was not ok
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomjinx committed Oct 17, 2024
1 parent 49733d5 commit c25f14f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/online-shell/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ module.exports = (env, argv) => {
}

if (!response.ok) {
console.log(`Error (dev-server): response was not ok`, response, await response.text())
res.status(response.status).send(response.statusText)
} else {
var data
Expand Down

0 comments on commit c25f14f

Please sign in to comment.