fix torrent edit and send email

This commit is contained in:
xiaomlove
2025-01-20 00:47:31 +08:00
parent 9de6fb42a9
commit d06d677565
3 changed files with 4 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ EOD;
$toolRep->sendMail($email, $title, $body, true);
stderr($lang_mailtest['std_success'], $lang_mailtest['std_success_note']);
} catch (\Throwable $e) {
do_log($e->getMessage().$e->getTraceAsString(), "error");
stderr($lang_functions['std_error'], $lang_functions['text_unable_to_send_mail'] . sprintf("<br/><br/><code>%s</code>", $e->getMessage()), false);
}
}