Fix erroneous logger

Throwable does not call logger correctly. No error shown in logger.