Skip to content

Commit

Permalink
tests: disable exception wrapping (GISSERVER_WRAP_FILTER_DB_ERRORS)
Browse files Browse the repository at this point in the history
This allows seeing the full traceback instead of an XML response
indicating there was an error in the query.
  • Loading branch information
vdboor committed Dec 11, 2024
1 parent 4e1d353 commit 4d3e28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

GISSERVER_USE_DB_RENDERING = env.bool("GISSERVER_USE_DB_RENDERING", default=True)
GISSERVER_WRAP_FILTER_DB_ERRORS = False # Raise errors to see what's happening.

INSTALLED_APPS = [
"gisserver",
Expand Down

0 comments on commit 4d3e28c

Please sign in to comment.