make sure errors that are not tuples dont break logging