Better transition error handling: The original script/line of the error should no longer be lost.