mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-02 17:19:37 +00:00
Logging information why a read of sockstat failed ultimately
This commit is contained in:
1 parent
548b96c04b
commit
7c3cddbe70
1 file changed
+3
-2
+3
-2
@@ -88,7 +88,8 @@ public class SystemInformationImpl implements SystemInformation {
|
||||
try {
|
||||
sockstat = readProc("/proc/net/sockstat");
|
||||
} catch (Exception ex) {
|
||||
/* ok ignore */
|
||||
/* ok something went wrong */
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -292,7 +293,7 @@ public class SystemInformationImpl implements SystemInformation {
|
||||
result.append(ns.toString()).append("\n");
|
||||
}
|
||||
|
||||
result.append("Contents of TMP directory (java.io.tmpdir)").append("\n");
|
||||
result.append("\nContents of TMP directory (java.io.tmpdir)").append("\n");
|
||||
result.append(Arrays.toString(new File(System.getProperty("java.io.tmpdir")).listFiles()));
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
Reference in new issue
Block a user