Commit 514540ff authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Added error handling for hostname retrieval.

parent 1b408b04
......@@ -87,7 +87,8 @@ namespace Nektar
ProvenanceMap["Timestamp"] = wss.str();
// Hostname
ProvenanceMap["Hostname"] = ip::host_name();
boost::system::error_code ec;
ProvenanceMap["Hostname"] = ip::host_name(ec);
// Git information
// If built from a distributed package, do not include this
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment