Human-readable error for single instance logging

This commit is contained in:
Ilya Fedin 2020-03-04 22:21:09 +04:00 committed by John Preston
parent 7ac4c6e479
commit fdd431dce9
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void Sandbox::socketError(QLocalSocket::LocalSocketError e) {
psCheckLocalSocket(_localServerName);
if (!_localServer.listen(_localServerName)) {
LOG(("Failed to start listening to %1 server, error %2").arg(_localServerName).arg(int(_localServer.serverError())));
LOG(("Failed to start listening to %1 server: %2").arg(_localServerName).arg(_localServer.errorString()));
return App::quit();
}
#endif // !Q_OS_WINRT