log exceptions raised in running a method stub