From 74630c8d77b12551b6ec196d95497c4029a0d88d Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 28 Feb 2024 18:43:31 +0900 Subject: [PATCH] Override AsciiResponse#toString() to include type information (#206) * Override AsciiResponse#toString() to include type information * fix version in changelog --------- Co-authored-by: thiagocesarj <76481925+thiagocesarj@users.noreply.github.com> --- .../java/com/spotify/folsom/client/ascii/AsciiResponse.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/folsom/src/main/java/com/spotify/folsom/client/ascii/AsciiResponse.java b/folsom/src/main/java/com/spotify/folsom/client/ascii/AsciiResponse.java index 0fc4d35d..e508d93e 100644 --- a/folsom/src/main/java/com/spotify/folsom/client/ascii/AsciiResponse.java +++ b/folsom/src/main/java/com/spotify/folsom/client/ascii/AsciiResponse.java @@ -52,4 +52,9 @@ public enum Type { OUT_OF_MEMORY, CLIENT_ERROR } + + @Override + public String toString() { + return "AsciiResponse{type=" + this.type + "}"; + } }