Fix webex teams alert plugin null exception error (#13591)
This commit is contained in:
parent
bf8480b247
commit
3f94c3cb32
|
|
@ -156,7 +156,7 @@ public final class WebexTeamsSender {
|
|||
for (Map map : list) {
|
||||
for (Map.Entry<String, Object> entry : (Iterable<Map.Entry<String, Object>>) map.entrySet()) {
|
||||
String key = entry.getKey();
|
||||
String value = entry.getValue().toString();
|
||||
String value = entry.getValue() == null ? "" : entry.getValue().toString();
|
||||
contents.append(key).append(":").append(value);
|
||||
contents.append("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue