[fix #46799349] added error/exception logging