# HG changeset patch # User Alain Mazy # Date 1625577512 -7200 # Node ID d10696f949597c6078dbc4cb41c15bd48585588c # Parent b086aa28543eef7b00448d028e8fd2c712db1fb0 more detailed AWS errors diff -r b086aa28543e -r d10696f94959 Aws/AwsS3StoragePlugin.cpp --- a/Aws/AwsS3StoragePlugin.cpp Sat Jun 26 22:20:34 2021 +0200 +++ b/Aws/AwsS3StoragePlugin.cpp Tue Jul 06 15:18:32 2021 +0200 @@ -92,7 +92,7 @@ if (!result.IsSuccess()) { - throw StoragePluginException(std::string("error while writing file ") + path_ + ": " + result.GetError().GetExceptionName().c_str() + " " + result.GetError().GetMessage().c_str()); + throw StoragePluginException(std::string("error while writing file ") + path_ + ": response code = " + boost::lexical_cast((int)result.GetError().GetResponseCode()) + " " + result.GetError().GetExceptionName().c_str() + " " + result.GetError().GetMessage().c_str()); } } };