Skip to content

Commit

Permalink
remove try block
Browse files Browse the repository at this point in the history
  • Loading branch information
BinamB committed Jan 3, 2025
1 parent 162c58b commit 3df68fc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions fence/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@
from fence.config import config
from fence.settings import CONFIG_SEARCH_FOLDERS

try:
config.load(
config_path=os.environ.get("FENCE_CONFIG_PATH"),
search_folders=CONFIG_SEARCH_FOLDERS,
)
except Exception as e:
print("fence configuration load error " + str(e))
config.load(
config_path=os.environ.get("FENCE_CONFIG_PATH"),
search_folders=CONFIG_SEARCH_FOLDERS,
)

from fence.auth import logout, build_redirect_url
from fence.metrics import metrics
Expand Down

0 comments on commit 3df68fc

Please sign in to comment.