Improved an error message
This commit is contained in:
parent
794475ea22
commit
2522e12882
1 changed files with 4 additions and 1 deletions
|
@ -433,7 +433,10 @@ class ConnectionHandler {
|
|||
this.log.log(log.server.Type.CONNECTION_FAILED, {});
|
||||
break;
|
||||
}
|
||||
log.error(LogCategory.CLIENT, tr("Could not connect to remote host! Error: %o"), data);
|
||||
if(data)
|
||||
log.error(LogCategory.CLIENT, tr("Could not connect to remote host! Extra data: %o"), data);
|
||||
else
|
||||
log.error(LogCategory.CLIENT, tr("Could not connect to remote host!"), data);
|
||||
|
||||
if(native_client) {
|
||||
createErrorModal(
|
||||
|
|
Loading…
Add table
Reference in a new issue