add exception logger