james | logging the exception type