log exceptions in scheduler