(app: Application, *args: t.Any, **kwargs: t.Any)
| 114 | |
| 115 | @functools.wraps(method) |
| 116 | def inner(app: Application, *args: t.Any, **kwargs: t.Any) -> t.Any: |
| 117 | try: |
| 118 | return method(app, *args, **kwargs) |
| 119 | except (TraitError, ArgumentError) as e: |
| 120 | app.log.fatal("Bad config encountered during initialization: %s", e) |
| 121 | app.log.debug("Config at the time: %s", app.config) |
| 122 | app.exit(1) |
| 123 | |
| 124 | return t.cast(T, inner) |
| 125 |
nothing calls this directly
no test coverage detected
searching dependent graphs…