Skip to content

Commit

Permalink
chore: improve query region provide error text
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Jul 19, 2024
1 parent 8a6cd9a commit 9c261b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiniu/httpc/regionsProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,9 +687,9 @@ const QueryRegionsProvider = (function () {
if (!respWrapper.ok()) {
return Promise.reject(
new Error(
'Query regions failed with' +
'Query regions failed with ' +
`HTTP Status Code ${respWrapper.resp.statusCode}, ` +
`Body ${respWrapper.data}`
`Body ${JSON.stringify(respWrapper.resp.data)}`
)
);
}
Expand Down

0 comments on commit 9c261b8

Please sign in to comment.