
Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
Logging Exceptions
Exceptions can be logged in a way that automatically includes traceback information in the log message, as in the following example:
import logging try: i = 1 / 0 except Exception as exception: logging.exception("Error in computation: %s" % str(exception))
Run in the Python tab, this produces a log message with the following text:
Error in computation: float division Traceback (most recent call last): File "<string>", line 4, in <module> ZeroDivisionError: float division
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.