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,6 +151,10 @@ class BottleContext(BaseContext):
151 151
         )
152 152
 
153 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 158
         self.app.install(self.handle_exceptions_decorator_builder)
155 159
 
156 160
     def _get_handled_exception_class_and_http_codes(