public void ReportException(Exception e, string key = "", string value = "", ReportSeverity2 warningLevel = ReportSeverity2.Warning) { // Conditionally spin up error reporting if not on the Stable channel string channel = UserSettings.Instance.get("UpdateFeedType"); if (string.IsNullOrEmpty(channel) || channel != "release" || OemSettings.Instance.WindowTitleExtra == "Experimental") { #if !DEBUG _raygunClient.Send(e); #endif } }
public void ReportException(Exception e, string key, string value, ReportSeverity2 warningLevel = ReportSeverity2.Warning) { // do nothing }