makeshift exception logging