storage: Make sure abort
method exists before calling
#878
Labels
api: storage
Issues related to the Cloud Storage API.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
While playing around today, I noticed an error can occur before an API request is made. It's only on an HTTP stream that we get the
abort
method (to close the connection), so we have to check that it's available to call first.From
lib/storage/file.js
:The text was updated successfully, but these errors were encountered: