Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature #2211 log_msg #2212

Merged
merged 1 commit into from
Jul 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions src/basic/vx_config/dictionary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,8 @@ if ( Entry ) {

mlog << Warning
<< "\nDictionary::lookup_thresh() -> "
<< "threshold lookup failed for name \"" << name << "\"\n\n";
<< "threshold lookup failed for name \""
<< name << "\"\n\n";

}
}
Expand All @@ -1962,7 +1963,9 @@ if ( !Entry || !is_correct_type ) {

mlog << Error
<< "\nDictionary::lookup_thresh() -> "
<< "lookup failed for name \"" << name << "\"\n\n";
<< "threshold \"" << name
<< "\" must start with a valid comparison operator "
<< "(<, <=, ==, !=, >, >=, lt, le, eq, ne, gt, ge).\n\n";

exit ( 1 );

Expand Down Expand Up @@ -2008,7 +2011,6 @@ if ( Entry ) {
}
}


LastLookupStatus = is_correct_type;

if ( !Entry || !is_correct_type ) {
Expand All @@ -2017,7 +2019,9 @@ if ( !Entry || !is_correct_type ) {

mlog << Error
<< "\nDictionary::lookup_thresh_array() -> "
<< "lookup failed for name \"" << name << "\"\n\n";
<< "each threshold in array \"" << name
<< "\" must start with a valid comparison operator "
<< "(<, <=, ==, !=, >, >=, lt, le, eq, ne, gt, ge).\n\n";

exit ( 1 );

Expand Down Expand Up @@ -2056,8 +2060,9 @@ if ( Dict->n_entries() > 0 ) {

mlog << Error
<< "\nDictionary::lookup_thresh_array() -> "
<< "array \"" << name
<< "\" does not contain ThreshType.\n\n";
<< "each threshold in array \"" << name
<< "\" must start with a valid comparison operator "
<< "(<, <=, ==, !=, >, >=, lt, le, eq, ne, gt, ge).\n\n";

exit ( 1 );

Expand Down