Skip to content

Replace assertions with fatal error - Services#407

Merged
tomholub merged 1 commit intomasterfrom
feature/issue-387-replace-assertion-with-fatal-error-services
Jul 23, 2021
Merged

Replace assertions with fatal error - Services#407
tomholub merged 1 commit intomasterfrom
feature/issue-387-replace-assertion-with-fatal-error-services

Conversation

@ekievsky
Copy link
Contributor

@ekievsky ekievsky commented Jul 22, 2021

This PR replaces assertion failures with fatal errors in appropriate services;

close #387


Tests :

  • Does not need tests (refactor only, docs or internal changes)

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

Copy link
Collaborator

@tomholub tomholub left a comment

Choose a reason for hiding this comment

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

Looks good. If the app starts crashing on one of these, then we have learned something and can properly adjust the code.

@tomholub tomholub merged commit ce3b31b into master Jul 23, 2021
@tomholub tomholub deleted the feature/issue-387-replace-assertion-with-fatal-error-services branch July 23, 2021 12:31
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.

replace all fatalError with throw

2 participants