mirror of https://github.com/lidarr/Lidarr
Fixed: API Exception Error format
This commit is contained in:
parent
117a3970e8
commit
600a5b194f
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using Nancy;
|
using Nancy;
|
||||||
using Nancy.Responses;
|
using Nancy.Responses;
|
||||||
using Lidarr.Http.ErrorManagement;
|
using Lidarr.Http.ErrorManagement;
|
||||||
|
@ -30,7 +30,7 @@ namespace Lidarr.Http.Exceptions
|
||||||
|
|
||||||
if (content != null)
|
if (content != null)
|
||||||
{
|
{
|
||||||
result = result + " :" + content;
|
result = $"{result}: {content}";
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue