Revert exception logging

This commit is contained in:
fieldOfView 2016-09-21 16:42:02 +02:00
parent bc76744ddb
commit 64571bff0b

View file

@ -232,10 +232,10 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
self._authentication_requested_message.hide() self._authentication_requested_message.hide()
if self._authentication_request_active: if self._authentication_request_active:
if self._authentication_timer.remainingTime() > 0: if self._authentication_timer.remainingTime() > 0:
Logger.logException("d", "Authentication state changed to authentication denied before the request timeout.") Logger.log("d", "Authentication state changed to authentication denied before the request timeout.")
self._authentication_failed_message.setText(i18n_catalog.i18nc("@info:status", "Access request was denied on the printer.")) self._authentication_failed_message.setText(i18n_catalog.i18nc("@info:status", "Access request was denied on the printer."))
else: else:
Logger.logException("d", "Authentication state changed to authentication denied due to a timeout") Logger.log("d", "Authentication state changed to authentication denied due to a timeout")
self._authentication_failed_message.setText(i18n_catalog.i18nc("@info:status", "Access request failed due to a timeout.")) self._authentication_failed_message.setText(i18n_catalog.i18nc("@info:status", "Access request failed due to a timeout."))
self._authentication_failed_message.show() self._authentication_failed_message.show()