forked from ak-fortuna/fortuna
fortuna: rethrow on error in ctor
This commit is contained in:
parent
619cb523af
commit
d236c73dee
|
@ -37,6 +37,7 @@ Fortuna::Fortuna() {
|
||||||
}
|
}
|
||||||
catch (CryptoPP::Exception& e) {
|
catch (CryptoPP::Exception& e) {
|
||||||
fmt::print(stderr, "{}\n", e.what());
|
fmt::print(stderr, "{}\n", e.what());
|
||||||
|
throw;
|
||||||
// perhaps die on error
|
// perhaps die on error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue