We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If an exception occurs after the try but before loc declaration here, the catch fails with:
try
loc
catch
[15:11:22] [INFO] [dku.utils] - *************** Recipe code failed ************** [15:11:22] [INFO] [dku.utils] - Begin Python stack [15:11:22] [INFO] [dku.utils] - Traceback (most recent call last): [15:11:22] [INFO] [dku.utils] - File "/mnt/secondary/dataiku_data/jobs/some_project/custom-python-recipe/pyout10LvN4CWhlPW/python-exec-wrapper.py", line 6, in <module> [15:11:22] [INFO] [dku.utils] - exec(f.read()) [15:11:22] [INFO] [dku.utils] - File "<string>", line 192, in <module> [15:11:22] [INFO] [dku.utils] - File "<string>", line 158, in main [15:11:22] [INFO] [dku.utils] - File "<string>", line 126, in perform_geocode_batch [15:11:22] [INFO] [dku.utils] - UnboundLocalError: local variable 'loc' referenced before assignment
This renders line 111's raise useless.
raise
The text was updated successfully, but these errors were encountered:
du-phan
No branches or pull requests
If an exception occurs after the
try
but beforeloc
declaration here, thecatch
fails with:This renders line 111's
raise
useless.The text was updated successfully, but these errors were encountered: