Chromium Code Reviews| Index: sync/util/cryptographer.cc |
| diff --git a/sync/util/cryptographer.cc b/sync/util/cryptographer.cc |
| index c22f0a322e6b0008f3f8aec3d336119aeb96594a..2db6037789b595da9272b9bcb92c4ab9cf181047 100644 |
| --- a/sync/util/cryptographer.cc |
| +++ b/sync/util/cryptographer.cc |
| @@ -127,7 +127,7 @@ std::string Cryptographer::DecryptToString( |
| const sync_pb::EncryptedData& encrypted) const { |
| NigoriMap::const_iterator it = nigoris_.find(encrypted.key_name()); |
| if (nigoris_.end() == it) { |
| - NOTREACHED() << "Cannot decrypt message"; |
| + LOG(ERROR) << "Cannot decrypt message"; |
|
stanisc
2015/06/09 00:04:02
Consider adding a comment explaining how this coul
Nicolas Zea
2015/06/09 19:42:03
Done.
|
| return std::string(); // Caller should have called CanDecrypt(encrypt). |
| } |