mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-09 00:04:20 +01:00
refactor: handle malformed JSON in updates response
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user