Skip to content

Commit

Permalink
Update packages/@uppy/companion/src/server/provider/error.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi authored Jan 15, 2025
1 parent f11bfef commit 0cde558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@uppy/companion/src/server/provider/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ function errorToResponse(err) {

const httpError = parseHttpError(err)
if (httpError) {
// We proxy the response purely for ease of debugging
return { code: 500, json: { statusCode: httpError.statusCode, body: httpError.body } }
}

Expand Down

0 comments on commit 0cde558

Please sign in to comment.