Overview
| Comment: | fix error message |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
700254f838f2fbbacadd85710150c8bd |
| User & Date: | arcade on 2026-01-18 08:14:44.729 |
| Other Links: | manifest | tags |
Context
|
2026-01-18
| ||
| 08:52 | simplify HTML checks to making sure nothing actually breaks check-in: dafeec0481 user: arcade tags: trunk | |
| 08:14 | fix error message check-in: 700254f838 user: arcade tags: trunk | |
|
2026-01-12
| ||
| 15:17 | bump and prepare to release check-in: 361d13d654 user: arcade tags: trunk | |
Changes
Modified src/mail.rs
from [7b99a09150]
to [d81e2bb00e].
| ︙ | ︙ | |||
310 311 312 313 314 315 316 |
fn data_end (&mut self) -> Response {
let mut result = OK;
smol::block_on(Compat::new(async {
// relay mail
if let Err(err) = self.relay_mail().await {
result = INTERNAL_ERROR;
// in case that fails - inform default recipient
| | | 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 |
fn data_end (&mut self) -> Response {
let mut result = OK;
smol::block_on(Compat::new(async {
// relay mail
if let Err(err) = self.relay_mail().await {
result = INTERNAL_ERROR;
// in case that fails - inform default recipient
if let Err(err) = self.tg.debug(&format!("Sending emails failed:\n{err:}")).await {
// in case that also fails - write some logs and bail
eprintln!("{err:?}");
};
};
}));
// clear - just in case
self.data = vec![];
|
| ︙ | ︙ |