improved Errorhandling in ImageHandler. Found a lot of errors in Log::handleException