[#8287] Change message "Please report this bug here" for cases which are not bugs
This commit is contained in:
parent
ef6b165178
commit
9958df4f03
@ -72,7 +72,7 @@ abstract class AbstractChecker extends SourceChecker {
|
||||
static void print(Printer printer) {
|
||||
try (PrintWriter writer = new PrintWriter(new FileWriter("error.txt"))){
|
||||
writer.println("This is probably a bug in jOOQ-checker.");
|
||||
writer.println("Please report this bug here: https://github.com/jOOQ/jOOQ/issues/new");
|
||||
writer.println("If you think this is a bug in jOOQ, please report it here: https://github.com/jOOQ/jOOQ/issues/new");
|
||||
writer.println("---------------------------------------------------------------------");
|
||||
|
||||
printer.print(writer);
|
||||
|
||||
@ -291,7 +291,7 @@ public abstract class AbstractDatabase implements Database {
|
||||
"Slow SQL",
|
||||
"jOOQ Meta executed a slow query (slower than " + s + " seconds, configured by configuration/generator/database/logSlowQueriesAfterSeconds)"
|
||||
+ "\n\n"
|
||||
+ "Please report this bug here: https://github.com/jOOQ/jOOQ/issues/new\n\n```sql\n"
|
||||
+ "If you think this is a bug in jOOQ, please report it here: https://github.com/jOOQ/jOOQ/issues/new\n\n```sql\n"
|
||||
+ formatted(ctx.query())
|
||||
+ "```\n",
|
||||
new SQLPerformanceWarning());
|
||||
@ -309,7 +309,7 @@ public abstract class AbstractDatabase implements Database {
|
||||
? ctx.exception().getMessage()
|
||||
: "No exception available")
|
||||
+ "\n\n"
|
||||
+ "Please report this bug here: https://github.com/jOOQ/jOOQ/issues/new\n\n```sql\n"
|
||||
+ "If you think this is a bug in jOOQ, please report it here: https://github.com/jOOQ/jOOQ/issues/new\n\n```sql\n"
|
||||
+ formatted(ctx.query())
|
||||
+ "```\n");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user