Skip to content

feat(core): adding extra information and logging surrounding exceptions #44

Merged
JustinCanton merged 3 commits intodevelopfrom
feature/bad_response_handling
Aug 14, 2022
Merged

feat(core): adding extra information and logging surrounding exceptions #44
JustinCanton merged 3 commits intodevelopfrom
feature/bad_response_handling

Conversation

@JustinCanton
Copy link
Copy Markdown
Owner

@JustinCanton JustinCanton commented Aug 14, 2022

Closes #42

Adding extra information into the data including the http status code response, and the uri that failed.

Updating exception handling to use an exception provider.

Creating a base Exception class that prints out the exception data on ToString.
@JustinCanton
Copy link
Copy Markdown
Owner Author

This review just expands on the exception functionality. Now when an invalid response is returned, it return more data associated with the failure.

@JustinCanton JustinCanton self-assigned this Aug 14, 2022
@JustinCanton JustinCanton merged commit 7b5b154 into develop Aug 14, 2022
@JustinCanton JustinCanton deleted the feature/bad_response_handling branch August 14, 2022 22:37
@JustinCanton JustinCanton added the enhancement New feature or request label Aug 19, 2022
@JustinCanton JustinCanton added this to the 1.2.0 milestone Aug 19, 2022
JustinCanton added a commit that referenced this pull request Aug 20, 2022
* feat(core): adding extra information and logging surrounding exceptions  (#44)

* feat(core): adding extra information and logging surrounding exceptions

Adding extra information into the data including the http status code response, and the uri that failed.

Updating exception handling to use an exception provider.

Creating a base Exception class that prints out the exception data on ToString.

* refactor: fixing code warnings

* test(core): adding tests for the exception provider

* fix(mapbox-geocoding): fixing an issue where the query is not properly encoded, and fixing an issue where the query string building is using an outdated method (#46)

* fix(mapbox-geocoding): fixing an issue where the query is not properly encoded

* feat: updating how query strings are created to be more inline with standards

* test(mapbox-geocoding): adding tests for encoding of query information

* feat(mapbox-geocoding): changing the encoding method to UrlEncoder for consistency

* docs: updating the README and CHANGELOG
This was referenced Aug 20, 2022
JustinCanton added a commit that referenced this pull request Aug 20, 2022
* feat(core): adding extra information and logging surrounding exceptions  (#44)

* feat(core): adding extra information and logging surrounding exceptions

Adding extra information into the data including the http status code response, and the uri that failed.

Updating exception handling to use an exception provider.

Creating a base Exception class that prints out the exception data on ToString.

* refactor: fixing code warnings

* test(core): adding tests for the exception provider

* fix(mapbox-geocoding): fixing an issue where the query is not properly encoded, and fixing an issue where the query string building is using an outdated method (#46)

* fix(mapbox-geocoding): fixing an issue where the query is not properly encoded

* feat: updating how query strings are created to be more inline with standards

* test(mapbox-geocoding): adding tests for encoding of query information

* feat(mapbox-geocoding): changing the encoding method to UrlEncoder for consistency

* docs: updating the README and CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MapBox 404 not handled.

1 participant