Commits

Jimmy Yuen Ho Wong  committed 404b01d

fixed typo

  • Participants
  • Parent commits 4964537

Comments (0)

Files changed (2)

File src/blueberrypy/project_template/config/prod/app.yml_tmpl

       tools.orm_session.on: true
       {%- endif %}
       error_page.default: !!python/name:{{package}}.rest_controller.generic_error_handler
-      request.error_response: !!python/name:{{package}}.rest_controller.unexpected_error_hander
+      request.error_response: !!python/name:{{package}}.rest_controller.unexpected_error_handler
   {%- endif %}
   {%- if not use_rest_controller and not use_controller %}
   controller:

File src/blueberrypy/project_template/src/+package+/rest_controller.py_tmpl

             result["traceback"] = traceback
     return json.dumps(result)
 
-def unexpected_error_hander():
+def unexpected_error_handler():
     """request.error_response"""
 
     (typ, value, tb) = sys.exc_info()