Skip to content

Commit

Permalink
Print encrypted file exception info
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 committed Jun 3, 2019
1 parent 53adb91 commit 4961066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libsecurity/EncryptedFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ bytes EncryptedFile::decryptContents(
}
catch (exception& e)
{
LOG(ERROR) << LOG_DESC("[ENCFILE] EncryptedFile error")
<< LOG_KV("what", boost::diagnostic_information(e));
BOOST_THROW_EXCEPTION(EncryptedFileError());
}
LOG(DEBUG) << "[ENCFILE] Decrypt file [name/cipher/plain]: " << _filePath << "/"
Expand Down

0 comments on commit 4961066

Please sign in to comment.