Updating to work with shake 0.8
Adding printing of exception error message.