Reduce verbosity of tus errors now that we know the locked problem is with tusd
This commit is contained in:
parent
c479a18cd8
commit
fdb5658df6
1 changed files with 3 additions and 3 deletions
|
@ -101,9 +101,9 @@ export function makeResumableUploadRequest(
|
|||
// $FlowFixMe - flow's constructor for Error is incorrect.
|
||||
new Error(customErr || err, {
|
||||
cause: {
|
||||
...(uploader._fingerprint ? { fingerprint: uploader._fingerprint } : {}),
|
||||
...(uploader._retryAttempt ? { retryAttempt: uploader._retryAttempt } : {}),
|
||||
...(uploader._offsetBeforeRetry ? { offsetBeforeRetry: uploader._offsetBeforeRetry } : {}),
|
||||
// ...(uploader._fingerprint ? { fingerprint: uploader._fingerprint } : {}),
|
||||
// ...(uploader._retryAttempt ? { retryAttempt: uploader._retryAttempt } : {}),
|
||||
// ...(uploader._offsetBeforeRetry ? { offsetBeforeRetry: uploader._offsetBeforeRetry } : {}),
|
||||
...(customErr ? { original: errMsg } : {}),
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue