[PATCH aeolus-image 3/5] Added method to handle exceptions