Added pseudo-logging of exception