aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/oid_lookup/oids.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-04 04:39:54 +0000
committerlloyd <[email protected]>2010-03-04 04:39:54 +0000
commita8072bab85de5521efb64ad56ac9d1aeba76ec10 (patch)
treedafb8ab09678fe5b0671722460f28452142b24f8 /src/libstate/oid_lookup/oids.cpp
parent75f888fc3776519d41ac242a2559e4c7e78f86a0 (diff)
Catch any exception for parsing name, assume it's a bad OID
Diffstat (limited to 'src/libstate/oid_lookup/oids.cpp')
-rw-r--r--src/libstate/oid_lookup/oids.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/oid_lookup/oids.cpp b/src/libstate/oid_lookup/oids.cpp
index 232c63360..c54762c58 100644
--- a/src/libstate/oid_lookup/oids.cpp
+++ b/src/libstate/oid_lookup/oids.cpp
@@ -49,7 +49,7 @@ OID lookup(const std::string& name)
{
return OID(name);
}
- catch(Exception)
+ catch(...)
{
throw Lookup_Error("No object identifier found for " + name);
}