We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b42309 commit f2afa75Copy full SHA for f2afa75
1 file changed
shotgun_api3/shotgun.py
@@ -3634,9 +3634,9 @@ def _upload_data_to_storage(self, data, content_type, size, storage_url):
3634
etag = result.info().getheader("ETag")
3635
except urllib2.HTTPError, e:
3636
if e.code == 500:
3637
- raise ShotgunError("Server encountered an internal error.\n%s\n%s\n\n" % (url, e))
+ raise ShotgunError("Server encountered an internal error.\n%s\n%s\n\n" % (storage_url, e))
3638
else:
3639
- raise ShotgunError("Unanticipated error occurred uploading %s: %s" % (path, e))
+ raise ShotgunError("Unanticipated error occurred uploading to %s: %s" % (storage_url, e))
3640
3641
LOG.debug("Part upload completed successfully.")
3642
return etag
0 commit comments