mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
New: Use Goodreads directly, allow multiple editions of a book (new DB required)
This commit is contained in:
@@ -23,6 +23,7 @@ namespace Readarr.Http.ErrorManagement
|
||||
public Response HandleException(NancyContext context, Exception exception)
|
||||
{
|
||||
_logger.Trace("Handling Exception");
|
||||
_logger.Warn(exception);
|
||||
|
||||
if (exception is ApiException apiException)
|
||||
{
|
||||
@@ -57,6 +58,7 @@ namespace Readarr.Http.ErrorManagement
|
||||
|
||||
if (exception is ModelConflictException conflictException)
|
||||
{
|
||||
_logger.Error(exception, "DB error");
|
||||
return new ErrorModel
|
||||
{
|
||||
Message = exception.Message,
|
||||
|
||||
Reference in New Issue
Block a user