Catch exception in tick.