diff --git a/base/media/client.mjs b/base/media/client.mjs index edbbaa0..dbaa302 100644 --- a/base/media/client.mjs +++ b/base/media/client.mjs @@ -77,6 +77,7 @@ export default class Client { } if (!options.getRaw && output.status && typeof(output.status) === 'number') { let err = new Error(`Request failed [${output.status}]: ${output.message}`) + err.url = path err.body = output return reject(err) }