AdrianJSClark / aydsko-iracingdata

A .NET access library for querying the iRacing "Data" API.
MIT License
29 stars 8 forks source link

Update "Site In Maintenance" Response Handling #204

Closed AdrianJSClark closed 5 months ago

AdrianJSClark commented 5 months ago

Make sure we support the new format as described in: https://forums.iracing.com/discussion/comment/533804/#Comment_533804

{
    "error": "Site Maintenance",
    "message": "Service is in maintenance.",
    "note": "The site is currently undergoing maintenance. Please try your request later."
}
AdrianJSClark commented 5 months ago

This format of error is already parsed and detected to return a specific exception, so no changes are needed here.