--- a/RefactoringRope/RefactoringServer.py Mon Jun 20 10:48:41 2022 +0200 +++ b/RefactoringRope/RefactoringServer.py Sat Jun 25 16:30:50 2022 +0200 @@ -2224,11 +2224,11 @@ """ this issue with the received data to the""" """ eric bugs email address.</p>""" """<p>Error: {0}</p>""" - """<p>Data:<br/>{1}</p>""").format( - params["ExceptionValue"], - Utilities.html_encode(params["ProtocolData"])), - EricMessageBox.StandardButtons( - EricMessageBox.Ok)) + """<p>Data:<br/>{1}</p>""") + .format(params["ExceptionValue"], + Utilities.html_encode(params["ProtocolData"])), + EricMessageBox.Ok + ) else: EricMessageBox.critical( None, @@ -2238,14 +2238,13 @@ " email address.</p>" "<p>Exception: {0}</p>" "<p>Value: {1}</p>" - "<p>Traceback: {2}</p>").format( - Utilities.html_encode(params["ExceptionType"]), - params["ExceptionValue"], - params["Traceback"].replace("\r\n", "<br/>") - .replace("\n", "<br/>").replace("\r", "<br/>"), - ), - EricMessageBox.StandardButtons( - EricMessageBox.Ok)) + "<p>Traceback: {2}</p>") + .format(Utilities.html_encode(params["ExceptionType"]), + params["ExceptionValue"], + params["Traceback"].replace("\r\n", "<br/>") + .replace("\n", "<br/>").replace("\r", "<br/>")), + EricMessageBox.Ok + ) def __startRefactoringClient(self, interpreter, clientEnv): """