<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">By ‘quit’, do you mean that the application aborts with a core dump? PyQt has aborted QApplications when encountering an unhandled Python exception since v5.5, so I’m not sure why you would not have encountered it before. Perhaps it’s a completely different issue.<div><br></div><div>If it’s the same issue, then you need to customize the sys.excepthook function. You can see an example of a fix I implemented a while ago in <a href="https://github.com/nexpy/nexpy/pull/125">https://github.com/nexpy/nexpy/pull/125</a>. </div><div><br></div><div>If it’s a different issue, then I apologize for adding to the noise.</div><div><br></div><div>Ray<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Dec 13, 2023, at 2:16 PM, Patrick Stinson <patrickkidd@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>I’ve been using PyQt for years but this is my first pyqt6 app.<br><br>It looks like new behavior that QApplication quits on the first python exception? Is there a way to disable this? Or am I spacing out something?<br><br>Cheers,<br>-Patrick<br><br><br><br></div></div></blockquote></div><br></div></body></html>