1909 I ran it interactively, and the crash happens after the input stream is closed. Traceback (most recent call last): File "/usr/local/lib/python3.10/pdb.py", line 1726, in main pdb._runscript(mainpyfile) File "/usr/local/lib/python3.10/pdb.py", line 1586, in _runscript self.run(statement) File "/usr/local/lib/python3.10/bdb.py", line 597, in run exec(cmd, globals, locals) File "<string>", line 1, in <module> File "/shared/src/log/capture_stdin.py", line 65, in <module> api_block = data_array[-1]['block'], IndexError: list index out of range Uncaught exception. Entering post mortem debugging Running 'cont' or 'step' will restart the program
/shared/src/log/capture_stdin.py(65)<module>() -> api_block = data_array[-1]['block'], (Pdb) p data_array []