force UE4Editor-cmd.exe to print a full python traceback

I’m running a python script with UE4Editor-Cmd.exe on Windows 10. Something that looks like this…

UE4Editor-Cmd.exe myProject -ExecutePythonCmd="myScript.py" -unattended -stdout -FullStdOutLogOutput

and when there is a problem with the script, I don’t get a helpful python traceback in stdout. All I get is a frustrating one-liner like this…

Error: SyntaxError: invalid syntax (myScript.py, line 42)

Is there a way to force unreal into printing a full python traceback? I also tried importing traceback, encapsulating the offending line in a try/except, and printing traceback.format_exc() to no avail.