comparison runner/LabFeatureWriter.cpp @ 324:ef03350baec7

Switch some more cerrs to SVCERRs
author Chris Cannam
date Fri, 18 May 2018 11:27:02 +0100
parents 704a8b27f3ed
children e39307a8d22d
comparison
equal deleted inserted replaced
323:50461005ffcb 324:ef03350baec7
77 if (i->first == "fill-ends") { 77 if (i->first == "fill-ends") {
78 m_forceEnd = true; 78 m_forceEnd = true;
79 } else if (i->first == "digits") { 79 } else if (i->first == "digits") {
80 int digits = atoi(i->second.c_str()); 80 int digits = atoi(i->second.c_str());
81 if (digits <= 0 || digits > 100) { 81 if (digits <= 0 || digits > 100) {
82 cerr << "LabFeatureWriter: ERROR: Invalid or out-of-range value for number of significant digits: " << i->second << endl; 82 SVCERR << "LabFeatureWriter: ERROR: Invalid or out-of-range value for number of significant digits: " << i->second << endl;
83 cerr << "LabFeatureWriter: NOTE: Continuing with default settings" << endl; 83 SVCERR << "LabFeatureWriter: NOTE: Continuing with default settings" << endl;
84 } else { 84 } else {
85 m_digits = digits; 85 m_digits = digits;
86 } 86 }
87 } 87 }
88 } 88 }