Skip to content

Commit

Permalink
Allow generic ApplicationBuilder to succeed without configs having been
Browse files Browse the repository at this point in the history
configured.
  • Loading branch information
aholmes committed Jan 22, 2025
1 parent c61e62d commit 8957de0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/programming/Ligare/programming/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,13 @@ def build(self) -> CreateAppResultProtocol[TApp]:
if not self._app_module_set:
_ = self.with_module(AppModule(self._exec, None))

config = self._build_config()
try:
config = self._build_config()

self._register_config_modules(config)
self._register_config_modules(config)
except BuilderBuildError as e:
logger = logging.getLogger()
logger.debug(e)

modules = self._build_application_modules()

Expand Down

0 comments on commit 8957de0

Please sign in to comment.