xbus broker returns some internal errors to the client
Created originally on Bitbucket by Anonymous
In some rare cases (development process when changing database structure) xbus.broker will let some exceptions buble up and return to the calling emitter instead of just returning en error 500 (or equivalent)
here is what an emitter can receive:
zmq_rpc.errors.ZmqRpcError: ProgrammingError('column "state" of relation "event" does not exist\nLINE 1: ...nvelope_id, emitter_id, type_id, estimated_items, state) VAL...\n
This should clearly be catched and returned as only an "internal error" without more information.