# 제목에 이모지가 2개 있으면 이메일 전송 실패 (경고 알림이 있으면 유용할 것)

**URL:** https://meta.discourse.org/t/fails-to-send-email-if-2-emoji-in-title-warning-would-be-helpful/389922
**Category:** Bug
**Tags:** automation
**Created:** [11월 28, 2025, 11:36오후 UTC](https://meta.discourse.org/t/fails-to-send-email-if-2-emoji-in-title-warning-would-be-helpful/389922 "2025-11-28T23:36:56Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [1월 1, 2026, 10:19오후 UTC](https://meta.discourse.org/t/fails-to-send-email-if-2-emoji-in-title-warning-would-be-helpful/389922/6 "2026-01-01T22:19:45Z")

</div>

실제로 정말 좋은 아이디어입니다! 👍

> <https://github.com/discourse/discourse/pull/36938>
>
> When automations fail silently (e.g., PM sending blocked due to validation error…s), admins have no visibility into what's going wrong. This leaves them guessing why their automations aren't working as expected.
> 
> This change addresses the problem in three ways:
> 
> 1. Error tracking in automation stats
> 
> The Stat model now tracks \`total\_errors\` alongside existing run metrics. When an automation raises an exception during execution, it's caught and counted. This gives admins visibility into which automations are experiencing problems.
> 
> 2. Centralized logging module
> 
> Created \`DiscourseAutomation::Logger\` to replace scattered \`Rails.logger.warn("\[discourse-automation\] ...")\` calls throughout the codebase. This eliminates the fragile manual prefix pattern and ensures consistent log formatting across all automation code. All existing logging calls have been migrated to use this module.
> 
> 3. Error count display in admin UI
> 
> The automation list now shows recent error counts next to run statistics. Clicking the error count links directly to \`/logs\` filtered for discourse-automation entries, making it easy to investigate failures. The link uses \`data-auto-route="true"\` to ensure proper navigation outside Ember's client-side router.
> 
> \<img width="1397" height="1041" alt="2026-01-01 @ 23 03 34" src="https://github.com/user-attachments/assets/6a6733f1-999c-44de-ab04-78dd764a1a43" /\>
> 
> Ref - https://meta.discourse.org/t/389922

diff가 크게 보이지만, 이는 주로 #automation 플러그인에서 로깅 방식을 중앙화했기 때문입니다. 이렇게 하면 항상 `[discourse-automation]` 접두사가 붙어 있어 모든 로그를 이 접두사로 검색할 수 있습니다.

---

_[View the full topic](https://meta.discourse.org/t/fails-to-send-email-if-2-emoji-in-title-warning-would-be-helpful/389922)._
