Skip to content

Comments

feat: Capture log message from django libgeos and show that as locati…#572

Merged
jforsman merged 1 commit intomasterfrom
better_location_validation_error
Mar 10, 2025
Merged

feat: Capture log message from django libgeos and show that as locati…#572
jforsman merged 1 commit intomasterfrom
better_location_validation_error

Conversation

@jforsman
Copy link
Contributor

…on_ewkt validation error message.

  • This seems to be the only way to get the actual error message instead of the very generic exception message django gis.
  • If libgeos logging is somehow changed this will break again and the generic Invalid location_ewkt value validation message will be shown.

Refs: LIIK-751

…on_ewkt validation error message.

* This seems to be the only way to get the actual error message instead of the very generic exception message django gis.
* If libgeos logging is somehow changed this will break again and the generic Invalid location_ewkt value validation message will be shown.

Refs: LIIK-751
@sonarqubecloud
Copy link

@jforsman jforsman merged commit 7ed0cbd into master Mar 10, 2025
3 checks passed
@jforsman jforsman deleted the better_location_validation_error branch March 10, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant