summaryrefslogtreecommitdiff
path: root/node/Identity.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-02 14:25:23 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-02 14:25:23 -0400
commit2a6b74746edbfde0b0f1468cdf153263670c908a (patch)
tree3e09ca56f65ea69e2d41df0a9d25ffb880270820 /node/Identity.hpp
parent741642ba531e487c18c8139c4a2e9510eed0466d (diff)
downloadinfinitytier-2a6b74746edbfde0b0f1468cdf153263670c908a.tar.gz
infinitytier-2a6b74746edbfde0b0f1468cdf153263670c908a.zip
Netconf service itself works, time to integrate.
Diffstat (limited to 'node/Identity.hpp')
-rw-r--r--node/Identity.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Identity.hpp b/node/Identity.hpp
index a9f78c8a..1cce4fb0 100644
--- a/node/Identity.hpp
+++ b/node/Identity.hpp
@@ -104,7 +104,7 @@ public:
_keyPair((EllipticCurveKeyPair *)0)
{
if (!fromString(str))
- throw std::invalid_argument("invalid string-serialized identity");
+ throw std::invalid_argument(std::string("invalid string-serialized identity: ") + str);
}
Identity(const std::string &str)
@@ -112,7 +112,7 @@ public:
_keyPair((EllipticCurveKeyPair *)0)
{
if (!fromString(str))
- throw std::invalid_argument("invalid string-serialized identity");
+ throw std::invalid_argument(std::string("invalid string-serialized identity: ") + str);
}
template<unsigned int C>