summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/feature-5163_add-pastebin-button1
-rw-r--r--src/leap/bitmask/gui/loggerwindow.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changes/feature-5163_add-pastebin-button b/changes/feature-5163_add-pastebin-button
new file mode 100644
index 00000000..ec44edaf
--- /dev/null
+++ b/changes/feature-5163_add-pastebin-button
@@ -0,0 +1 @@
+- Add pastebin button to upload logs from the logs window to ease bug report. Closes #5163.
diff --git a/src/leap/bitmask/gui/loggerwindow.py b/src/leap/bitmask/gui/loggerwindow.py
index 9b6cef91..c01642fc 100644
--- a/src/leap/bitmask/gui/loggerwindow.py
+++ b/src/leap/bitmask/gui/loggerwindow.py
@@ -237,7 +237,7 @@ class LoggerWindow(QtGui.QDialog):
"""
logger.error(repr(failure))
msg = self.tr("Sending logs to Pastebin failed!")
- show_err = lambda: QtGui.QMessageBox.error(
+ show_err = lambda: QtGui.QMessageBox.critical(
self, self.tr("Pastebin Error"), msg)
self._set_pastebin_sending(False)
self.reactor.callLater(0, show_err)