shouldn't ignore the error here. Catch the error and use DDLogError to log any important error.