Removed trailing LF from error log

This commit is contained in:
Magnus Persson 2022-02-06 21:29:58 +01:00
parent 914b4125d8
commit b901a12699

View File

@ -77,6 +77,8 @@ ErrorFileLog::ErrorFileLog() {
if (errFile) {
do {
_errors[i] = errFile.readStringUntil('\n');
_errors[i].replace("\r", "");
_errors[i].replace("\n", "");
} while (_errors[i++].length());
errFile.close();
}