Added logging to unhide some exceptions that were getting lost