add try catch
This commit is contained in:
@ -419,7 +419,7 @@ class KonfirmasiBankController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// try {
|
try {
|
||||||
foreach ($listAccount as $key1 => $account) {
|
foreach ($listAccount as $key1 => $account) {
|
||||||
|
|
||||||
|
|
||||||
@ -603,11 +603,11 @@ class KonfirmasiBankController extends Controller
|
|||||||
|
|
||||||
return $pdf->stream($filename);
|
return $pdf->stream($filename);
|
||||||
|
|
||||||
// } catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// return redirect()->route('konfirmasibank.timeout');
|
return redirect()->route('konfirmasibank.timeout');
|
||||||
// }
|
}
|
||||||
|
|
||||||
// return false;
|
return false;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user