Added info about subclasses of exceptions to be logged as well