[batch2] fix status if error occurred when getting the job config (#7522)
[batch2] fix status if error occurred when getting the job config (#7522)


hail-is/hail,cseed/hail,danking/hail,danking/hail,cseed/hail,danking/hail,danking/hail,danking/hail,hail-is/hail,hail-is/hail,hail-is/hail,cseed/hail,hail-is/hail,danking/hail,cseed/hail,hail-is/hail,danking/hail,cseed/hail,hail-is/hail,cseed/hail,cseed/hail,danking/hail,cseed/hail,hail-is/hail