cyrusinnovation / CodeTestBotApp

Ember client app for the CodeTestBot application.
MIT License
0 stars 2 forks source link

Error message handling #47

Open childss opened 10 years ago

childss commented 10 years ago

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 (f48f095b0d6fb6b0c586c1ae12f45bb9fc3858ad) 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 commented 10 years ago

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.