{"action":"closed","issue":{"url":"https://api.github.com/repos/molgenis/molgenis/issues/3546","labels_url":"https://api.github.com/repos/molgenis/molgenis/issues/3546/labels{/name}","comments_url":"https://api.github.com/repos/molgenis/molgenis/issues/3546/comments","events_url":"https://api.github.com/repos/molgenis/molgenis/issues/3546/events","html_url":"https://github.com/molgenis/molgenis/issues/3546","id":104240463,"number":3546,"title":"If you have invalid code in you freemarker the dataexplorer shows the default template, and logs no error","user":{"login":"bartcharbon","id":3714029,"avatar_url":"https://avatars.githubusercontent.com/u/3714029?v=3","gravatar_id":"","url":"https://api.github.com/users/bartcharbon","html_url":"https://github.com/bartcharbon","followers_url":"https://api.github.com/users/bartcharbon/followers","following_url":"https://api.github.com/users/bartcharbon/following{/other_user}","gists_url":"https://api.github.com/users/bartcharbon/gists{/gist_id}","starred_url":"https://api.github.com/users/bartcharbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartcharbon/subscriptions","organizations_url":"https://api.github.com/users/bartcharbon/orgs","repos_url":"https://api.github.com/users/bartcharbon/repos","events_url":"https://api.github.com/users/bartcharbon/events{/privacy}","received_events_url":"https://api.github.com/users/bartcharbon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/molgenis/molgenis/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/molgenis/molgenis/labels/dataexplorer","name":"dataexplorer","color":"009900"}],"state":"closed","locked":false,"assignee":{"login":"bartcharbon","id":3714029,"avatar_url":"https://avatars.githubusercontent.com/u/3714029?v=3","gravatar_id":"","url":"https://api.github.com/users/bartcharbon","html_url":"https://github.com/bartcharbon","followers_url":"https://api.github.com/users/bartcharbon/followers","following_url":"https://api.github.com/users/bartcharbon/following{/other_user}","gists_url":"https://api.github.com/users/bartcharbon/gists{/gist_id}","starred_url":"https://api.github.com/users/bartcharbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartcharbon/subscriptions","organizations_url":"https://api.github.com/users/bartcharbon/orgs","repos_url":"https://api.github.com/users/bartcharbon/repos","events_url":"https://api.github.com/users/bartcharbon/events{/privacy}","received_events_url":"https://api.github.com/users/bartcharbon/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-01T10:54:14Z","updated_at":"2015-09-02T21:28:14Z","closed_at":"2015-09-02T21:28:14Z","body":"```\r\n\tprivate boolean viewExists(String viewName)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\treturn freemarkerConfigurer.getConfiguration().getTemplate(viewName + \".ftl\") != null;\r\n\t\t}\r\n\t\tcatch (IOException e)\r\n\t\t{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n```\r\nThis prevents exceptions from being logged. In case of a parse error a stacktrace would be very beneficial. "}}