From 33e823ddddddd4a13b1a05b90ae5b419b89bcb1d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 17 Feb 2018 14:26:29 +0100 Subject: Add encryption functions (xchacha20) Changed license to GPL 3.0 because of incompatible license with opendht. Should odhtdb stay GPL 3.0 or should opendht be replaced with libdht so license can be changed back to MIT? --- src/DatabaseStorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DatabaseStorage.cpp') diff --git a/src/DatabaseStorage.cpp b/src/DatabaseStorage.cpp index 2028c63..62a2e77 100644 --- a/src/DatabaseStorage.cpp +++ b/src/DatabaseStorage.cpp @@ -27,7 +27,7 @@ namespace odhtdb { string errMsg = "Database storage with key "; errMsg += key.hashedKey.toString(); - errMsg += " not found"; + errMsg += " not found. Storage for a key needs to be created before data can be appended to it"; throw DatabaseStorageNotFound(errMsg); } it->second->objects.push_back({data, timestamp, creatorPublicKey}); -- cgit v1.2.3