git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6741feb
)
Catch generic std::exception as there can be thrown different types in case of differ...
author
Bjoern Sikora
<bjoern.sikora@intra2net.com>
Tue, 16 Jul 2013 09:49:26 +0000 (11:49 +0200)
committer
Bjoern Sikora
<bjoern.sikora@intra2net.com>
Tue, 16 Jul 2013 09:49:26 +0000 (11:49 +0200)
src/serviceholder.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/serviceholder.cpp
b/src/serviceholder.cpp
index
7f7968f
..
e4a484b
100644
(file)
--- a/
src/serviceholder.cpp
+++ b/
src/serviceholder.cpp
@@
-130,7
+130,7
@@
int Serviceholder::deserialize_services()
boost::archive::text_iarchive ia(ifs);
ia >> _service_container >> _ip_addr_helper;
}
- catch( const boost::archive::archive_exception& e )
+ catch( const std::exception& e )
{
// There is a corrupted object file, continue without recovering old Services' state.
Log->print_exception_deserialize(e.what());