Skip to content

Commit

Permalink
CA-381212 : The error is not always Internal Server Error;
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Chremmou <[email protected]>
  • Loading branch information
kc284 committed Aug 30, 2023
1 parent 8644ed3 commit c5430d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion XenModel/Actions/Updates/CheckForCdnUpdatesAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ protected override void Run()
}
catch (HTTP.BadServerResponseException ex)
{
if (ex.Message.Contains("404 Not Found") || ex.Message.Contains("500 Internal Server Error"))
if (ex.Message.Contains("404 Not Found") || ex.Message.Contains("500 Internal Server Error") ||
ex.Message.Contains("500 Internal Error")) //seems xapi shows this too
{
log.Warn(ex.Message);
log.Warn("Failed to retrieve available updates. See the server side logs for details.");
Expand Down

0 comments on commit c5430d0

Please sign in to comment.