Skip to content

Commit e357693

Browse files
Refine development-mode message (#2425)
* Refine development-mode message for clearer production configuration instructions * requested changes * merge
1 parent 554c8e4 commit e357693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/predic8/membrane/core/exceptions/ProblemDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class ProblemDetails {
5555
public static final String STACK_TRACE = "stackTrace";
5656
public static final String LOG_KEY = "logKey";
5757
public static final String DEVELOPMENT_MODE_WARNING = """
58-
Membrane is in development mode. For production set <router production="true"> to reduce details in error messages!""";
58+
Membrane is running in development mode. Enable production mode in the configuration to prevent detailed information from appearing in error responses.""";
5959

6060
/**
6161
* If router is in production mode that should not expose internal details

0 commit comments

Comments
 (0)