Skip to content

Commit

Permalink
Merge pull request #94 from openimis/develop
Browse files Browse the repository at this point in the history
use DEBUG
  • Loading branch information
delcroip authored Apr 26, 2024
2 parents 7f7bd36 + 6b25d6d commit 8ca6884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ def _output_exception(model_name, method, exception):
"success": False,
"message": f"Failed to {method} {model_name}",
"detail": f"{exception}",
"data": traceback.format_exc() if settings.MODE == "DEV" else "",
"data": traceback.format_exc() if settings.DEBUG else "",
}


Expand Down

0 comments on commit 8ca6884

Please sign in to comment.