aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/agent/machine.cxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx
index 1ce831e..89da981 100644
--- a/bbot/agent/machine.cxx
+++ b/bbot/agent/machine.cxx
@@ -441,7 +441,8 @@ namespace bbot
}
catch (const io_error& e)
{
- fail << "unable to initialize QMP: " << e;
+ fail << "unable to initialize QMP: " << e <<
+ info << "see " << log;
}
// Start execution.
@@ -452,7 +453,8 @@ namespace bbot
}
catch (const system_error& e)
{
- fail << "unable to communicate with qemu monitor: " << e;
+ fail << "unable to communicate with qemu monitor: " << e <<
+ info << "see " << log;
}
}
@@ -504,7 +506,8 @@ namespace bbot
if (r)
return true;
- fail << "unable to communicate with qemu monitor: " << e;
+ fail << "unable to communicate with qemu monitor: " << e <<
+ info << "see " << log;
}
return wait (seconds);
@@ -525,7 +528,8 @@ namespace bbot
if (wait (t, fh))
return;
- fail (fh) << "unable to communicate with qemu monitor: " << e;
+ fail (fh) << "unable to communicate with qemu monitor: " << e <<
+ info << "see " << log;
}
wait (fh);
@@ -540,7 +544,8 @@ namespace bbot
}
catch (const system_error& e)
{
- fail (fh) << "unable to communicate with qemu monitor: " << e;
+ fail (fh) << "unable to communicate with qemu monitor: " << e <<
+ info << "see " << log;
}
}
@@ -575,7 +580,8 @@ namespace bbot
}
catch (const process_error& e)
{
- fail (fh) << "unable to wait for " << kvm << ": " << e << endf;
+ fail (fh) << "unable to wait for " << kvm << ": " << e <<
+ info << "see " << log << endf;
}
}