allow for exception logging