mirror of https://github.com/redis/redis.git
				
				
				
			More informative error when DEBUG RELOAD fails.
This commit is contained in:
		
							parent
							
								
									dd9ad57062
								
							
						
					
					
						commit
						80ad7189e8
					
				|  | @ -222,7 +222,7 @@ void debugCommand(redisClient *c) { | |||
|         } | ||||
|         emptyDb(); | ||||
|         if (rdbLoad(server.dbfilename) != REDIS_OK) { | ||||
|             addReply(c,shared.err); | ||||
|             addReplyError(c,"Error trying to load the RDB dump"); | ||||
|             return; | ||||
|         } | ||||
|         redisLog(REDIS_WARNING,"DB reloaded by DEBUG RELOAD"); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue