1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

exceptron stores reference ID in exception

This commit is contained in:
kay.one 2013-08-31 13:32:26 -07:00
parent 4465d50a31
commit bf415563d4

View file

@ -149,7 +149,11 @@ public ExceptionResponse SubmitException(ExceptionData exceptionData)
SetHttpInfo(exceptionData, report); SetHttpInfo(exceptionData, report);
SetEnviromentInfo(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) catch (Exception e)
{ {