Disable prism if old version

This commit is contained in:
nicolas.dorier 2023-09-22 23:43:06 +09:00
parent c4f8c4c7b4
commit 66a064e78b
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -164,6 +164,11 @@ namespace BTCPayServer.Plugins
foreach (var plugin in plugins)
{
if (plugin.Identifier == "BTCPayServer.Plugins.Prism" && plugin.Version <= new Version("1.1.18"))
{
logger.LogWarning("Please update your prism plugin, this version is incompatible");
continue;
}
try
{
logger.LogInformation(