Skip to content

Add improvements to exception handling messages #454

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

Merged

Conversation

jjlangholtz
Copy link
Contributor

Minor improvements to the exception service:

  • split exception.catcher into a function per use case
  • add documentation for recommended usage
  • rename to exception.service.js to follow naming conventions

Add a guard clause to the $exceptionHandler decorator to ensure an
error object.

Add a missing .catch clause to the login function.

Note that you will still error messages when closing modals, but the output is less noisy. This is due to angular-ui-bootstrap not catching up to angular 1.6.1 yet. Looks like it is actively being fixed from angular-ui/bootstrap#6360

@miq-bot add_label euwe/no, bug

Minor improvements to the exception service:
* split exception.catcher into a function per use case
* add documentation for recommended usage
* rename to exception.service.js to follow naming conventions

Add a guard clause to the `$exceptionHandler` decorator to ensure an
error object.

Add a missing `.catch` clause to the login function.
@jjlangholtz
Copy link
Contributor Author

@miq-bot
Copy link
Member

miq-bot commented Jan 23, 2017

Checked commit jjlangholtz@740f362 with ruby 2.2.6, rubocop 0.46.0, and haml-lint 0.19.0
0 files checked, 0 offenses detected
Everything looks good. 🏆

@chriskacerguis chriskacerguis self-assigned this Jan 23, 2017
@chriskacerguis chriskacerguis merged commit eabb08a into ManageIQ:master Jan 23, 2017
@chriskacerguis chriskacerguis modified the milestone: Sprint 53 Ending Jan 31, 2017 Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants