Home > FAQs > Make Struts throw exceptions on missing properties, or log them |

Apache Struts 2 Documentation
Make Struts throw exceptions on missing properties, or log them
Edit Page Browse Space Add Page Add News

Start by setting `devMode` to `true`:

To log missing properties, then:

To throw exceptions when a property is missing, or when an exception occurs while evaluating an expression(this will break the pages if there is a problem on the expression):