From da0b191254baa816e04c07c52a3ac0a0a9214ba3 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Tue, 21 Jun 2022 10:07:12 -0700 Subject: [PATCH] crashhandler: show error code --- app/crashhandler/crashhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/crashhandler/crashhandler.cpp b/app/crashhandler/crashhandler.cpp index eac036c27..ac1173123 100644 --- a/app/crashhandler/crashhandler.cpp +++ b/app/crashhandler/crashhandler.cpp @@ -153,7 +153,7 @@ void CrashHandlerDialog::ReplyFinished(QNetworkReply* reply) b.setIcon(QMessageBox::Critical); b.setWindowModality(Qt::WindowModal); b.setWindowTitle(tr("Upload Failed")); - b.setText(tr("Failed to send error report. Please try again later.")); + b.setText(tr("Failed to send error report (%1). Please try again later.").arg(QString::number(reply.error()))); b.addButton(QMessageBox::Ok); b.exec();