You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleaned up ghost/core db (integration) test suite noise (#28909)
no ref
Removes the bulk of the error-level log noise from the DB-backed test
suites (integration / e2e), where deliberate error paths were logging
hundreds of lines per run and burying real failures.
@@ -153,8 +164,10 @@ export class EmailAddressService {
153
164
returnpreferred;
154
165
}
155
166
156
-
// Invalid configuration: don't allow to send from this sending domain
157
-
logging.error(`[EmailAddresses] Invalid configuration: cannot send emails from ${preferred.from.address} when sending domain is ${this.sendingDomain}`);
167
+
// Not an error: this is the expected, handled fallback for any sender address that
168
+
// doesn't match the sending domain (staff/member/newsletter senders routinely don't) —
169
+
// we fall through to the default from-address below. Warn-level, not error-level.
170
+
logging.warn(`[EmailAddresses] Cannot send emails from ${preferred.from.address} when sending domain is ${this.sendingDomain} — falling back to the default from-address`);
158
171
}
159
172
160
173
// Only allow to send from the configured from address
0 commit comments