mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-24 16:51:58 +00:00
exceptron stores reference ID in exception
This commit is contained in:
parent
4465d50a31
commit
bf415563d4
1 changed files with 5 additions and 1 deletions
|
@ -149,7 +149,11 @@ public ExceptionResponse SubmitException(ExceptionData exceptionData)
|
|||
SetHttpInfo(exceptionData, report);
|
||||
SetEnviromentInfo(report);
|
||||
|
||||
return RestClient.Put<ExceptionResponse>(Configuration.Host, report);
|
||||
var exceptionResponse = RestClient.Put<ExceptionResponse>(Configuration.Host, report);
|
||||
|
||||
exceptionData.Exception.Data["et"] = exceptionResponse.RefId;
|
||||
|
||||
return exceptionResponse;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue