improve error management
This commit is contained in:
parent
a23a5ba06b
commit
2f0a8f36d8
2 changed files with 14 additions and 5 deletions
|
|
@ -76,7 +76,7 @@
|
|||
try {
|
||||
$endTime = strlen($session['duration']) > 0 ? getEndTime($session) : false;
|
||||
} catch (\Throwable $th) {
|
||||
throw new Exception($session['title'], 1);
|
||||
throw new Exception($session['title'] .' - ' . $th->getMessage(), 1);
|
||||
}
|
||||
?>
|
||||
<template x-if="tab === 'Calendrier' || ('<?= $session['categories'] ?>'.length > 0 && tab.includes('<?= $session['categories'] ?>'))">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue