Adding an error handler to order-api