This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new afb907b fix unequal number of arguments and placeholder (#2149)
afb907b is described below
commit afb907b4b019cbc9f0ed85c25854e9c381561a4f
Author: tswstarplanet <[email protected]>
AuthorDate: Thu Mar 12 17:41:10 2020 +0800
fix unequal number of arguments and placeholder (#2149)
---
.../main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java
b/dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java
index 99efdc8..130ad8a 100644
---
a/dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java
+++
b/dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/MailUtils.java
@@ -334,7 +334,7 @@ public class MailUtils {
* @param e the exception
*/
private static void handleException(Collection<String> receivers,
Map<String, Object> retMap, Exception e) {
- logger.error("Send email to {} failed {}", receivers, e);
+ logger.error("Send email to {} failed", receivers, e);
retMap.put(Constants.MESSAGE, "Send email to {" + String.join(",",
receivers) + "} failed," + e.toString());
}