Update: 2026-05-07 03:16:40
This commit is contained in:
@@ -92,7 +92,7 @@ try {
|
||||
$db->commit();
|
||||
json_success(['status' => 'received'], $message);
|
||||
|
||||
} catch (\Exception $e) {
|
||||
} catch (\Throwable $e) {
|
||||
if ($db->inTransaction()) $db->rollBack();
|
||||
error_log("Bot Webhook Error: " . $e->getMessage());
|
||||
json_error('حدث خطأ أثناء معالجة رسالة البوت.', 500);
|
||||
|
||||
Reference in New Issue
Block a user