NSException *exception = [NSException exceptionWithName:@"自定义bug" reason:@"这是一个bug" userInfo:nil];
[Bugly setUserIdentifier:[NSString stringWithFormat:@"User: %@", [UIDevice currentDevice].name]];
[Bugly setUserValue:[NSProcessInfo processInfo].processName forKey:@"Process"];
[Bugly reportException:exception];