Skip to content

Commit

Permalink
Added more debug information to the Create() factory method of the Cu…
Browse files Browse the repository at this point in the history
…rrentPlatform class.
  • Loading branch information
xvitaly committed Oct 26, 2024
1 parent 0941021 commit 3b7aa4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/CurrentPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static CurrentPlatform Create()
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { return new PlatformWindows(); }
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { return new PlatformLinux(); }
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { return new PlatformMac(); }
throw new PlatformNotSupportedException();
throw new PlatformNotSupportedException(DebugStrings.AppDbgCorePlatformNotSupported);
}

/// <summary>
Expand Down

0 comments on commit 3b7aa4d

Please sign in to comment.