improved exception logging not to hide some exceptions if message is not
available