Exception rethrow
This commit is contained in:
parent
59eb0ce03a
commit
2d0da8b05b
1 changed files with 3 additions and 0 deletions
|
|
@ -311,10 +311,12 @@ if (isset($_REQUEST['ac']))
|
|||
echo '<a class="button" href="do.php?'.Dossier::get().'">';
|
||||
echo _('Retour');
|
||||
echo '</a>';
|
||||
return;
|
||||
}
|
||||
else {
|
||||
alert($e->getMessage());
|
||||
record_log($e->getTraceAsString());
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -345,6 +347,7 @@ else
|
|||
{
|
||||
echo $exc->getMessage();
|
||||
record_log($exc->getTraceAsString());
|
||||
throw $e;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue