add another missing brace and a name to error_handling.R