Update FormOtherController.php
This commit is contained in:
@@ -214,7 +214,7 @@ class FormOtherController extends Controller
|
|||||||
$url = route('forms.other.view', $form->id);
|
$url = route('forms.other.view', $form->id);
|
||||||
WhatsappHelper::newExpense($phoneNumbers, $expense_number, $url, $tanggal, $total, $name);
|
WhatsappHelper::newExpense($phoneNumbers, $expense_number, $url, $tanggal, $total, $name);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
session()->flash('error', 'Failed to send whatsapp message.');
|
// session()->flash('error', 'Failed to send whatsapp message.');
|
||||||
} finally {
|
} finally {
|
||||||
Log::error("Failed to send WhatsApp message to");
|
Log::error("Failed to send WhatsApp message to");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user