Add preprocessor directive to show error message to browser