public static void SendException(Exception exception) { if (_errorSender == null) throw new InvalidOperationException("BugSense.Init must be called before this method may be called"); _errorSender.SendOrStore(_informationCollector.CreateCrashReport(exception)); }