Changed exception handling wrapper -- response type is changed to exception now, instead of simply being logged.