From ff7636b945b410d84512c2a774774390e26e207b Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Fri, 7 Feb 2020 22:58:36 +0200 Subject: [PATCH] log exception --- src/rsa.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rsa.cpp b/src/rsa.cpp index b382313..a04fd98 100644 --- a/src/rsa.cpp +++ b/src/rsa.cpp @@ -37,6 +37,7 @@ void RSA::decrypt(char* msg) const c.Encode(reinterpret_cast(msg), 128); } catch (const CryptoPP::Exception& e) { + std::cout << e.what() << '\n'; } }