Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error reporting in resumable-upload
Existing error handling has wrong error serialization with .toString(), that leads to [object Object] error messages. Example: Error: Retry limit exceeded - [object Object] at Upload.attemptDelayedRetry (/usr/src/app/node_modules/@google-cloud/storage/build/cjs/src/resumable-upload.js:818:26) Better solution would be JSON.stringify the error
- Loading branch information