added a missing comma after errorHanlder