Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve database error handling #476

Merged
merged 2 commits into from
Sep 20, 2018
Merged

Conversation

NicolasMahe
Copy link
Member

This PR improve the handling of database error.
The reason is we cannot decode Service from v1.1 because we changed their structure.

In order to not break the application, the function database.services.All output the decode error rather than returning it.
The unmarshal error has been improved by the DecodeError with a nicer message.

@antho1404 antho1404 merged commit fb1c34c into dev Sep 20, 2018
@NicolasMahe NicolasMahe deleted the feature/database-error-handling branch September 20, 2018 09:54
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.

3 participants