techpines/express.io

Realtime routing: Capturing unhandled route?

Opened this issue · 0 comments

I'm using a realtime route similar to the example in the 'Realtime Routing is Sweet' section of the README.md file, and I can't seem to figure out if there's a way to install a default handler for any uncaught routes. I don't really care if it's top level handler, or if I have to install a default handler per route (so that 'customers:does_exist' is caught, but 'salesperson:doesnt_exist' is not).

Is there a way to do this? I've been poking around in the express.io code, but I'm fairly new to the whole NodeJS thing, and may just not understand what I'm looking at.