use improved 2-arity log/exception