fixed a bug preventing  yield/resume after catching a thrown error