adds error handler to subscription action

WIP