Skip to content

Commit

Permalink
* Display path in exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
sonus21 committed Oct 22, 2020
1 parent d699840 commit 5ae689a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error_tracker/django/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_exception_model():
raise warnings.warn(
"APP_ERROR_DB_MODEL refers to model '%s' that has not been installed" % model_path
)
raise Exception("APP_ERROR_DB_MODEL is set but not usable")
raise Exception("APP_ERROR_DB_MODEL is set to '%s' but it can't be imported" % model_path)


def get_masking_module():
Expand Down

0 comments on commit 5ae689a

Please sign in to comment.