diff --git a/src/pages/ErrorPage.js b/src/pages/ErrorPage.js index 6dbbe09..c968165 100644 --- a/src/pages/ErrorPage.js +++ b/src/pages/ErrorPage.js @@ -1,4 +1,5 @@ import React, { PropTypes } from "react"; +import { FormattedMessage } from "../utils/IntlComponents"; class ErrorPage extends React.Component { @@ -10,7 +11,7 @@ class ErrorPage extends React.Component { const { err } = this.props; return (
-

Error displaying this page

+

{ process.env.NODE_ENV === "development" && err &&
diff --git a/src/pages/NotFoundPage.js b/src/pages/NotFoundPage.js
index 4946077..c20297e 100644
--- a/src/pages/NotFoundPage.js
+++ b/src/pages/NotFoundPage.js
@@ -6,7 +6,7 @@ class NotFoundPage extends React.Component {
   render() {
     return (
       
- +

); }