diff options
Diffstat (limited to 'localwebsite')
-rw-r--r-- | localwebsite/templates-web/header.twig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/localwebsite/templates-web/header.twig b/localwebsite/templates-web/header.twig index 03560b0..1a866e1 100644 --- a/localwebsite/templates-web/header.twig +++ b/localwebsite/templates-web/header.twig @@ -4,6 +4,11 @@ <title>{{ title }}</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <script> + window.onerror = function(error) { + window.console && console.error(error); + } + </script> {{ static|raw }} </head> <body> |