The piece of code i have looks like this:
try:
funcProneToError()
#codeBlock1
except:
#errorMessage
def funcProneToError():
try:
#raise error
except:
#erorMessage
Now the problem is that if an error is raised in funcProneToError(), the code skips codeBlock1 and prints error message twice. is there any way to bypass this? iwant to be able to run codeblock1 even if an error is detected in the function.
Also im coming here after a really long time so ignore any formatting mishaps.