-
Notifications
You must be signed in to change notification settings - Fork 725
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
[WIP] Better http error handling #1257
Conversation
- Removed extra space after the parenthesis - Used camelCase for the methods name
typo/grammar
Fix display of Http Error Service link
Refactor notification.log(text, { addnCls: 'humane-flatty-error' }) into seperate method
**## javascript :)
Fix typo Fix call to displayError (allowing patch of displayError method in a decorator)
commit test to see if e2e tests are now passing!
Rebase from ng-admin Mastser
Test for Http Error Service
Add correct parameter in method 404 call. Add break in each case block
Add tests on displayError being called
Better http error handling
@jpetitcolas There is still an issue with protractor or SauceLabs. Can you take a look? |
@Phocea the build fails, but it seems to be because of a problem in your code rather than a build artefact. Can you take a look? |
Tests should be fixed now, but we still need to check new feature. I quickly copy/pasted README sample, but it doesn't boot the application anymore. Back to WIP, but we should not be too far. :) |
|
||
httpErrorService.$inject = ['$state', '$translate', 'notification']; | ||
|
||
export default httpErrorService; | ||
export default { $get: httpErrorService }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Phocea: this is a provider, hence we need a $get
method. :)
Replaced by #1257 |
@Phocea Following #1253