Skip to content

Commit

Permalink
helm(fix): fix FAIL_GRACEFULLY to return true
Browse files Browse the repository at this point in the history
  • Loading branch information
akiva10b committed Aug 8, 2023
1 parent 554ca88 commit 146081f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,6 @@ data:
# Fail gracefully when decorator conditional_graceful_exception on function. This should be set to True on production
# Example: If a text or ref cannot be properly loaded, fail gracefully and let the server continue to run
FAIL_GRACEFULLY = os.getenv("FAIL_GRACEFULLY", True)
FAIL_GRACEFULLY = os.getenv("FAIL_GRACEFULLY").lower() == "true"
if "pytest" in sys.modules:
FAIL_GRACEFULLY = False

0 comments on commit 146081f

Please sign in to comment.