arg_raw may be used where it doesn't exist. I moved it out of the try: so it can be used within the exception