alan-turing-institute / rctab-functions

RCTab function apps to interact with Azure subscriptions.
MIT License
0 stars 1 forks source link

Move log handlers call so it is only called once per function app #17

Closed Iain-S closed 9 months ago

Iain-S commented 9 months ago

Note that there is an issue with the gitleaks action at the moment: https://github.com/gitleaks/gitleaks-action/issues/136

Iain-S commented 9 months ago

To do:

Iain-S commented 9 months ago

@dlpbc notice that I have moved the add_log_handler call back into main and changed it to return if it is called a second time rather than raise. This simplifies testing and ensures that importing status has fewer side-effects.