refactor: handle malformed JSON in updates response

This commit is contained in:
thgO.O
2025-08-27 12:25:38 -03:00
parent f58e790672
commit ffa3ea82ed

View File

@@ -125,6 +125,11 @@ namespace BTCPayServer.Plugins
_logger.LogWarning(ex, "Failed to check for plugins updates");
return null;
}
catch (JsonException ex)
{
_logger.LogWarning(ex, "Failed to parse plugins updates response");
return null;
}
}
}
}