Skip to content

Commit

Permalink
Make it clear which providers are supported
Browse files Browse the repository at this point in the history
  • Loading branch information
nul800sebastiaan committed Jul 19, 2022
1 parent f139803 commit f9e9025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cultiv.Hangfire/HangfireComposer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static string GetConnectionString(IUmbracoBuilder builder)
var providerName = builder.Config.GetConnectionStringProviderName(Umbraco.Cms.Core.Constants.System.UmbracoConnectionName);
if (providerName != null && AllowedSqlProviderNames.InvariantContains(providerName) == false)
{
throw new NotSupportedException($"Cultiv.Hangfire only works on SQL Server and LocalDb, your current provider ({providerName}) is not supported.");
throw new NotSupportedException($"Cultiv.Hangfire only works on providers `{string.Join("`, `", AllowedSqlProviderNames)}`, your current provider ({providerName}) is not supported.");
}

return builder.Config.GetUmbracoConnectionString();
Expand Down

0 comments on commit f9e9025

Please sign in to comment.