Skip to content
Snippets Groups Projects
Commit 69d100a2 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Verbose output when failing IRDB write back

parent 97264e6e
No related branches found
No related tags found
No related merge requests found
Pipeline #11030 failed
......@@ -163,8 +163,8 @@ int main(int argc, char* argv[])
const int result = ThanosPlugin_t::saveChanges();
if(result != 0)
{
*thanos_log << "A critical step failed: " << (thanos_plugins.back())->getStepName()
<< endl;
*real_cerr << "A critical step failed (possibly while writing the IR back to the IRDB):\n\t " << (thanos_plugins.back())->getStepName() << endl;
*thanos_log << "A critical step failed: " << (thanos_plugins.back())->getStepName() << endl;
*thanos_log << "If DEBUG_STEPS is not on, this failure could "
<< "be due to an earlier critical step." << endl;
return 1; // critical step failed, abort
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment