Trendy / hapi-ember

Ember.js application routing for Hapi.js, without the fuss
MIT License
4 stars 1 forks source link

Error response conflicts #2

Open RicardoGeek opened 8 years ago

RicardoGeek commented 8 years ago

If I have a non-ember endpoint in my hapi application, and it returns any error code (isBoom = true), it will render the ember app instead of the error response from the backend.

any ideas?

Trendy commented 8 years ago

@RicardoGeek Sorry I'm such a lame maintainer!

I looked into this tonight and confirmed the bug, I'll be making a release to fix this and issues with later versions of Hapi.js.

RicardoGeek commented 8 years ago

Hey! Awesome :) Glad to help if needed. Thanks

Trendy commented 8 years ago

Thanks! I created a branch for this issue. It should work now, but the code needs to be cleaned up quite a bit and it needs some tests.

Trendy commented 8 years ago

Status update I am still working on testing different versions of Hapi. After I wrote the initial version of this plugin Hapi went through some changes, and this plugin no longer works with the latest version of Hapi.