forked from openlp/openlp
Change a log.error to a log.exception
This commit is contained in:
parent
0601cf1543
commit
2d009f1884
@ -118,7 +118,7 @@ class WebSocketServer(RegistryProperties, LogMixin):
|
||||
log.debug("Web Socket Server started for class {address} {port}".format(address=address, port=port))
|
||||
break
|
||||
except Exception as e:
|
||||
log.error('Failed to start ws server {why}'.format(why=e))
|
||||
log.exception('Failed to start ws server {why}'.format(why=e))
|
||||
loop += 1
|
||||
time.sleep(0.1)
|
||||
|
||||
|
@ -558,6 +558,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, RegistryProperties):
|
||||
wait_dialog.setCancelButton(None)
|
||||
wait_dialog.show()
|
||||
for thread_name in self.threads.keys():
|
||||
log.debug('Waiting for thread %s', thread_name)
|
||||
self.application.processEvents()
|
||||
thread = self.threads[thread_name]['thread']
|
||||
worker = self.threads[thread_name]['worker']
|
||||
|
Loading…
Reference in New Issue
Block a user