Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. while True:
  2.     try #code die wsl crasht
  3.         mdb.jobs['JOB-EXP-'+exp_id].waitForCompletion()
  4.     except Error
  5.     print("Error occurred in try block, so code execution now continues here", Error)
  6.     #code, functions, anything you want to happen after the error occurs should be called here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement