Skip to content

Commit

Permalink
fix(server-routes): clear error onResponse (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
arashsheyda authored Aug 2, 2023
1 parent 8ee0ae3 commit 313fa1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/devtools/client/components/ServerRouteDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ async function fetchData() {
onResponse({ response: res }) {
response.contentType = (res.headers.get('content-type') || '').toString().toLowerCase().trim()
response.statusCode = res.status
response.error = undefined
},
onResponseError(res) {
response.error = res.response._data
Expand Down

0 comments on commit 313fa1b

Please sign in to comment.