Adding loging exception support and missing dependency