Skip to content

Commit e32a044

Browse files
committed
Fixed issue with a Compute file change that was made during warning removal.
1 parent 3f7e7db commit e32a044

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ServiceManagement/Compute/Sync/Upload/ExtensionMethods.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ public static string DumpStorageExceptionErrorDetails(StorageException storageEx
237237

238238
var message = new StringBuilder();
239239
message.AppendLine("StorageException details");
240+
#if NETSTANDARD
240241
message.Append("Error.Code:").AppendLine(storageException.RequestInformation.ErrorCode);
242+
#else
243+
message.Append("Error.Code:").AppendLine(storageException.RequestInformation.ExtendedErrorInformation.ErrorCode);
244+
#endif
241245
message.Append("ErrorMessage:").AppendLine(storageException.RequestInformation.ExtendedErrorInformation.ErrorMessage);
242246
foreach (var key in storageException.RequestInformation.ExtendedErrorInformation.AdditionalDetails.Keys)
243247
{

0 commit comments

Comments
 (0)