mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-05 14:59:36 +00:00
Catch more errors of twig labels
This commit is contained in:
parent
1c6bf3f472
commit
5e9f7a11a3
2 changed files with 3 additions and 4 deletions
|
|
@ -95,7 +95,7 @@ final class LabelHTMLGenerator
|
|||
'paper_height' => $options->getHeight(),
|
||||
]
|
||||
);
|
||||
} catch (Error $exception) {
|
||||
} catch (\Throwable $exception) {
|
||||
throw new TwigModeException($exception);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue