Skip to content

Commit 96cc352

Browse files
LeeGunLeeGun
authored andcommitted
initial
1 parent 864d88e commit 96cc352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/scouter/plugin/server/alert/dingtalk/DingtalkPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ public void sendToDing(String contents, String token) throws IOException {
158158
HttpResponse response = client.execute(post);
159159

160160
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
161-
println("Line message sent to [" + token + "] successfully.");
161+
println("DingTalk message sent to [" + token + "] successfully.");
162162
} else {
163-
println("Line message sent failed. Verify below information.");
163+
println("DingTalk message sent failed. Verify below information.");
164164
println("[URL] : " + url);
165165
println("[Message] : " + body);
166166
println("[Reason] : " + EntityUtils.toString(response.getEntity(), "UTF-8"));

0 commit comments

Comments
 (0)