Skip to content
Snippets Groups Projects
Commit 4249c0a6 authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

check excpetion

parent 68438684
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
<div class="page-header">
<h1><?php echo $list->getTitle(); ?></h1>
</div>
<?php try { ?>
<table class="table">
<thead>
<?php foreach($list->getLabels() as $field): ?>
......@@ -21,4 +22,7 @@
<?php endforeach; ?>
</tbody>
</table>
<?php } catch(Exception $e) {
echo $e->getMessage();
} ?>
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment