]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/pages/OneFormPage.java
upd: get default variables into outputables for error messages
[gigi.git] / src / club / wpia / gigi / pages / OneFormPage.java
index 91c29908f21bbf1bda18d2f8f9f0e6776971c0fc..452955bcb02c9cca9e6243a3c7729beda8f554b0 100644 (file)
@@ -35,7 +35,7 @@ public class OneFormPage extends Page {
         try {
             c.getConstructor(HttpServletRequest.class).newInstance(req).output(resp.getWriter(), getLanguage(req), getDefaultVars(req));
         } catch (ReflectiveOperationException e) {
-            new GigiApiException().format(resp.getWriter(), getLanguage(req));
+            new GigiApiException().format(resp.getWriter(), getLanguage(req), getDefaultVars(req));
         }
     }