We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e7c43 commit 85784e7Copy full SHA for 85784e7
1 file changed
error_tracker/django/__init__.py
@@ -43,8 +43,7 @@ def get_exception_model():
43
raise warnings.warn(
44
"APP_ERROR_DB_MODEL refers to model '%s' that has not been installed" % model_path
45
)
46
- warnings.warn("APP_ERROR_DB_MODEL is set but not usable using default model")
47
- return ErrorModel
+ raise Exception("APP_ERROR_DB_MODEL is set but not usable")
48
49
50
def get_masking_module():
0 commit comments