Exception Handling in Scripts?

How are you supposed to debug exceptions that may happen in a scheduled script? Is there any better way than looking through the wrapper.log file?

Ah, so I might have a version issue here. We are running 8.1.19 on our DEV server and I have 8.1.24 locally. I do see now that on my local instance there is a [+] button on the on the log entry that will show you the exception.

I don't see that on v8.1.19. Is that something that was recently added?

In the gateway home page go to Status->Logs and you can view them there instead of having to actually be in the gateway computer.

If you must, capture them in try: -- except: blocks and send the traces wherever is more convenient.

The plus sign is present if the log entry included a backtrace. That goes way way back in Ignition.

Is that configurable somehow? I've never seen that [+] sign before, so I assumed it was a recent addition. I exported/imported the project to my local instance, so the environment is what changed.