Help troubleshooting a program that suddenly exits when it has worked fine for years

You can include formatted text by surrounding the block of code with triple-backticks (```):

```python
def foo():
    pass
```

becomes

def foo():
    pass

No, not unless you wrote some code to do that sort of logging yourself.

If an exception is being raised, you should be able to see the traceback wherever the programs output usually appears (assuming you’re running this in some terminal like environment that shows the stdout & stderr).

1 Like