File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/main/java/club/bytecode/the/jda Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public class JDA {
3737 /*per version*/
3838 public static final String version = "1.1.0" ;
3939 /* Constants */
40+ public static final String ISSUE_TRACKER_URL = "https://github.com/LLVM-but-worse/jda/issues" ;
4041 public static final String fs = System .getProperty ("file.separator" );
4142 public static final String nl = System .getProperty ("line.separator" );
4243 public static final File dataDir = new File (System .getProperty ("user.home" ) + fs + ".jda" );
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ public class ExceptionUI extends JFrame {
2222 * @param e The exception to be shown
2323 */
2424 public ExceptionUI (Throwable e ) {
25- setup (e , "https://github.com/ecx86/jda/issues" );
25+ setup (e , JDA . ISSUE_TRACKER_URL );
2626 }
2727
2828 /**
2929 * @param e The exception to be shown
3030 */
3131 public ExceptionUI (String e ) {
32- setup (e , "https://github.com/ecx86/jda/issues" );
32+ setup (e , JDA . ISSUE_TRACKER_URL );
3333 }
3434
3535 /**
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ protected String parseException(Throwable e) {
3030 e .printStackTrace (new PrintWriter (sw ));
3131 e .printStackTrace ();
3232 String exception = "JDA v" + JDA .version + JDA .nl + JDA .nl + sw .toString ();
33- return getName () + " encountered a problem! Send the stacktrace to https://github.com/ecx86/jda/issues" + JDA .nl +
33+ return getName () + " encountered a problem! Send the stacktrace to " + JDA . ISSUE_TRACKER_URL + JDA .nl +
3434 JDA .nl +
3535 "Suggested Fix: Click refresh class, if it fails again try another decompiler." + JDA .nl +
3636 JDA .nl +
You can’t perform that action at this time.
0 commit comments