blob: 1390afe5171cad17dcb11e6da3be5d4bc2040c7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/database-redis.cpp b/src/database-redis.cpp
index b086f89..d64064c 100644
--- a/src/database-redis.cpp
+++ b/src/database-redis.cpp
@@ -98,7 +98,7 @@ bool Database_Redis::saveBlock(v3s16 blockpos, std::string &data)
if (reply->type == REDIS_REPLY_ERROR) {
errorstream << "WARNING: saveBlock: saving block " << PP(blockpos)
- << "failed" << std::endl;
+ << " failed: " << reply->str << std::endl;
freeReplyObject(reply);
return false;
}
|