File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/ServiceManagement/Compute/Sync/Upload Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,11 @@ public static string DumpStorageExceptionErrorDetails(StorageException storageEx
237
237
238
238
var message = new StringBuilder ( ) ;
239
239
message . AppendLine ( "StorageException details" ) ;
240
+ #if NETSTANDARD
240
241
message . Append ( "Error.Code:" ) . AppendLine ( storageException . RequestInformation . ErrorCode ) ;
242
+ #else
243
+ message . Append ( "Error.Code:" ) . AppendLine ( storageException . RequestInformation . ExtendedErrorInformation . ErrorCode ) ;
244
+ #endif
241
245
message . Append ( "ErrorMessage:" ) . AppendLine ( storageException . RequestInformation . ExtendedErrorInformation . ErrorMessage ) ;
242
246
foreach ( var key in storageException . RequestInformation . ExtendedErrorInformation . AdditionalDetails . Keys )
243
247
{
You can’t perform that action at this time.
0 commit comments