Skip to content
Snippets Groups Projects

fix: azure-curl provider exception type leaks to through core apis to customer!

All threads resolved!
Files
3
@@ -395,6 +395,15 @@ namespace seismicdrive
{
nbytes = SIZE_MAX;
}
catch (const SDExceptionAzureStorageError &)
{
nbytes = SIZE_MAX;
}
// FIXME(team)
// all other providers return 0 ( not even -1LL as missing object size .
// exceptions should not be used in general as error reporting, and should not
// be typed at the derived class convenience.
// unfortunately all that is part of the ABI...
}
_storage->uploadObject(fullname, data, len);
if (_pedantic && _flushManifest)
Loading