Add nullability to web.common
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Umbraco.Cms.Core.Exceptions
|
||||
/// <remarks>
|
||||
/// The exception can be null, in which case a default message is used.
|
||||
/// </remarks>
|
||||
public static void Rethrow(BootFailedException bootFailedException)
|
||||
public static void Rethrow(BootFailedException? bootFailedException)
|
||||
{
|
||||
if (bootFailedException == null)
|
||||
throw new BootFailedException(DefaultMessage);
|
||||
|
||||
Reference in New Issue
Block a user