aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/msvc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/msvc.cxx')
-rw-r--r--libbuild2/cc/msvc.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/cc/msvc.cxx b/libbuild2/cc/msvc.cxx
index 9aff347..765b1c6 100644
--- a/libbuild2/cc/msvc.cxx
+++ b/libbuild2/cc/msvc.cxx
@@ -187,9 +187,9 @@ namespace build2
break;
}
}
- catch (const io_error&)
+ catch (const io_error& e)
{
- // Let the following diag_buffer::read() call deal with this.
+ fail << "unable to read from " << dbuf.args0 << " stderr: " << e;
}
void
@@ -229,9 +229,9 @@ namespace build2
break;
}
}
- catch (const io_error&)
+ catch (const io_error& e)
{
- // Let the following diag_buffer::read() call deal with this.
+ fail << "unable to read from " << dbuf.args0 << " stderr: " << e;
}
void