Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/1ed45625df3d60aa21402cbb519e40008b3bccf0?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
9 additions and
5 deletions
@ -50,11 +50,11 @@ namespace NzbDrone.Api.ErrorManagement
} . AsResponse ( ( HttpStatusCode ) clientException . StatusCode ) ;
}
if ( context . Request . Method = = "PUT" | | context . Request . Method = = "POST" )
{
var sqLiteException = exception as SQLiteException ;
var sqLiteException = exception as SQLiteException ;
if ( sqLiteException ! = null )
if ( sqLiteException ! = null )
{
if ( context . Request . Method = = "PUT" | | context . Request . Method = = "POST" )
{
if ( sqLiteException . Message . Contains ( "constraint failed" ) )
return new ErrorModel
@ -62,6 +62,10 @@ namespace NzbDrone.Api.ErrorManagement
Message = exception . Message ,
} . AsResponse ( HttpStatusCode . Conflict ) ;
}
var sqlErrorMessage = String . Format ( "[{0} {1}?{2}]" , context . Request . Method , context . Request . Path , context . Request . Query ) ;
_logger . ErrorException ( sqlErrorMessage , sqLiteException ) ;
}
_logger . FatalException ( "Request Failed" , exception ) ;