Fix bot not catching Promise errors and thus crashing in the middle of automation queue