Avoid getHostname()

Use hostname returned by getHostnameString() in error info.
This commit is contained in:
Xiaoyin Liu 2022-05-16 15:14:22 +08:00 committed by dragonmacher
parent e3a751ca46
commit 9641386541

View File

@ -119,8 +119,7 @@ public class ErrLogDialog extends AbstractErrDialog {
String hostname = getHostnameString();
if (hostname != null) {
sb.append("Workstation: ");
sb.append(getHostname());
sb.append(hostname);
sb.append(EOL);
}
return sb.toString();