Bastien Sevajol 6 years ago
parent
commit
0130572520
1 changed files with 4 additions and 0 deletions
  1. 4 0
      hapic/ext/bottle/context.py

+ 4 - 0
hapic/ext/bottle/context.py View File

151
         )
151
         )
152
 
152
 
153
     def _install_exceptions_handler(self) -> None:
153
     def _install_exceptions_handler(self) -> None:
154
+        """
155
+        Setup the bottle app to enable exception catching with internal
156
+        hapic exception catcher.
157
+        """
154
         self.app.install(self.handle_exceptions_decorator_builder)
158
         self.app.install(self.handle_exceptions_decorator_builder)
155
 
159
 
156
     def _get_handled_exception_class_and_http_codes(
160
     def _get_handled_exception_class_and_http_codes(