allow exceptions to be logged directly