Updated error msg

This commit is contained in:
Magnus Persson 2022-07-27 07:45:02 +02:00
parent 83bd80ba28
commit 70858ef841

View File

@ -101,8 +101,8 @@ int createFormula(RawFormulaData &fd, char *formulaBuffer,
char s[120];
snprintf(
&s[0], sizeof(s),
"CALC: Validation failed on angle %f, deviation too large %.8f",
fd.a[i], dev);
"CALC: Validation failed on angle %f, deviation too large %.8f, formula order %d",
fd.a[i], dev, order);
ErrorFileLog errLog;
errLog.addEntry(&s[0]);
valid = false;