Raise an exception if safe_eval fails instead of returning a sentinel.