Skip to content

Conversation

@dvdkon
Copy link
Contributor

@dvdkon dvdkon commented Dec 11, 2025

Currently geodiff returns a binary status code and optionally prints more detailed error messages to the log. This doesn't give sufficient direct feedback to users, and some have resorted to parsing the log. To give reasonable feedback, I refactored geodiff so that specific exceptions convert to specific return codes, and added a new "last call's error message" buffer that users can check in case of error.

On the Python side, this is converted back to exceptions with the appropriate message.

Copy link
Contributor

@wonder-sk wonder-sk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add postgres driver support too

@dvdkon dvdkon force-pushed the better-error-handling branch 2 times, most recently from c5b481b to 9c5f522 Compare December 18, 2025 14:43
@dvdkon dvdkon force-pushed the better-error-handling branch from 9c5f522 to 4de85e1 Compare December 18, 2025 14:45
@dvdkon dvdkon force-pushed the better-error-handling branch from 8079eca to 4d19281 Compare December 18, 2025 16:28
@wonder-sk wonder-sk merged commit aef774e into MerginMaps:master Dec 19, 2025
8 checks passed
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.

2 participants