Skip to content

Commit

Permalink
improved dl error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Dec 13, 2024
1 parent fa567f0 commit 9b14c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nexrender-core/src/tasks/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const download = (job, settings, asset) => {

return withTimeout(new Promise((resolve, reject) => {
const errorHandler = (error) => {
reject(new Error({reason: 'Unable to download file', meta: {src, error}}))
reject(new Error('Unable to download file ' + asset.src + ' due to ' + error))
};

res.body
Expand Down

0 comments on commit 9b14c60

Please sign in to comment.