Skip to content

Commit

Permalink
fix crashing due to null exception (#2880)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonaby authored May 10, 2024
1 parent b4abd71 commit 26d45a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/Environments/Models/ComputeSystemCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ public override string ToString()
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem name: {DisplayName} ");
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem SupplementalDisplayName: {SupplementalDisplayName} ");
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem associated Provider Id : {AssociatedProviderId} ");
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem associated developerId LoginId: {AssociatedDeveloperId?.Value.LoginId} ");
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem associated developerId Url: {AssociatedDeveloperId?.Value.Url} ");
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem associated developerId LoginId: {AssociatedDeveloperId?.Value?.LoginId} ");
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem associated developerId Url: {AssociatedDeveloperId?.Value?.Url} ");

var supportedOperations = EnumHelper.SupportedOperationsToString<ComputeSystemOperations>(SupportedOperations.Value);
builder.AppendLine(CultureInfo.InvariantCulture, $"ComputeSystem supported operations : {string.Join(",", supportedOperations)} ");
Expand Down

0 comments on commit 26d45a3

Please sign in to comment.