<div dir="ltr">Hi, is it possible to capture Python Errors? I mean, I have been able to log most of them, but I want to capture the error in red within the Python error Dialog.<div><br></div><div><div><img src="cid:ii_jw93p0vb0" alt="image.png" width="312" height="170"><br></div></div><div><br></div><div>This is what I have used so far:</div><div><br></div><div>def errorCatcher(msg, tag, level):<br>    QMessageBox.information(iface.mainWindow(), "Error", msg)<br>QgsApplication.messageLog().messageReceived.connect(errorCatcher)<br></div><div><br></div><div>Many thanks,</div><div>Raúl</div></div>