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

Error message handling #47

Open
childss opened this issue Jun 4, 2014 · 1 comment
Open

Error message handling #47

childss opened this issue Jun 4, 2014 · 1 comment

Comments

@childss
Copy link
Contributor

childss commented Jun 4, 2014

Error message bubbling/handling needs more research and enhancement. When I first implemented templates/error.hbs and templates/secured/error.hbs I only created the secured one because errors were inconsistently bubbling up to the global error handler. Now it seems (f48f095) even authorization failures aren't being handled properly by the secured one in certain circumstances.

This says to me that I don't actually understand how errors fly around the app.

@lvgelder
Copy link

lvgelder commented Jun 4, 2014

I don't understand errors in Ember either. For now I've just fixed the case where someone accesses the /users page without permission. Neither {{message}} nor {{error}} return anything useful.

I've left {{message}} on there in case it ever gets set correctly but I'm doubtful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants