reportException static method

void reportException(
  1. BuglyException exception
)

对外接口,上报异常

Implementation

static void reportException(BuglyException exception) {
  if (options.onErrorCallback != null) {
    options.onErrorCallback!(exception);
  }
  if (_bugly_isEnable) {
    BuglyReporter.instance.reportException(exception);
  }
}