Skip to content

Commit 6001e1a

Browse files
committed
Added toString() in TopicManagementResponse for logging (firebase#343)
1 parent 7b99123 commit 6001e1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/google/firebase/messaging/TopicManagementResponse.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,10 @@ public int getIndex() {
122122
public String getReason() {
123123
return reason;
124124
}
125+
126+
@Override
127+
public String toString() {
128+
return "Error{" + "index=" + index + ", reason='" + reason + '\'' + '}';
129+
}
125130
}
126131
}

0 commit comments

Comments
 (0)