|
@@ -107,8 +107,8 @@ public class DiskLoggingErrorManager {
|
107
|
107
|
"Level: " + error.getError().getLevel(),
|
108
|
108
|
"Description: " + error.getError().getMessage(),
|
109
|
109
|
"Details: ");
|
110
|
|
- error.getError().getThrowableAsString().ifPresent(s ->
|
111
|
|
- Arrays.stream(s.split("\n")).filter(String::isEmpty).forEach(data::add));
|
|
110
|
+ error.getError().getThrowableAsString()
|
|
111
|
+ .ifPresent(s -> Arrays.stream(s.split("\n")).forEach(data::add));
|
112
|
112
|
try {
|
113
|
113
|
Files.write(errorFile, data, Charset.forName("UTF-8"));
|
114
|
114
|
} catch (IOException ex) {
|