Skip to content

Version 3.1.2

Compare
Choose a tag to compare
@konraddysput konraddysput released this 15 Oct 15:48
· 135 commits to master since this release
3a348bb

Version 3.1.2

  • BacktraceData allows to edit list of environment variables collected by BacktraceAnnotations
  • SourceCode object description for PII purpose
    Annotationsclass exposes EnvironmentVariableCache dictionary - dictionary that stores environment variables collected by library. For example - to replaceUSERNAME` environment variable collected by Backtrace library with random string you can easily edit annotations environment varaible and Backtrace-Untiy will reuse them on report creation.
Annotations.EnvironmentVariablesCache["USERNAME"] = "%USERNAME%";

Also you can still use BeforeSend event to edit collected diagnostic data:

  client.BeforeSend = (BacktraceData data) =>
  {
      data.Annotation.EnvironmentVariables["USERNAME"] = "%USERNAME%";
      return data;
  }