exceptron stores reference ID in exception

pull/2/head
kay.one 11 years ago
parent 4465d50a31
commit bf415563d4

@ -149,7 +149,11 @@ namespace Exceptron.Client
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)
{ {

Loading…
Cancel
Save