Skip to content

Commit

Permalink
Replace outdated tracker url
Browse files Browse the repository at this point in the history
  • Loading branch information
rcx committed Aug 28, 2018
1 parent 5aaa3ac commit 9679c5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/java/club/bytecode/the/jda/JDA.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class JDA {
/*per version*/
public static final String version = "1.1.0";
/* Constants */
public static final String ISSUE_TRACKER_URL = "https://github.com/LLVM-but-worse/jda/issues";
public static final String fs = System.getProperty("file.separator");
public static final String nl = System.getProperty("line.separator");
public static final File dataDir = new File(System.getProperty("user.home") + fs + ".jda");
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/club/bytecode/the/jda/api/ExceptionUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ public class ExceptionUI extends JFrame {
* @param e The exception to be shown
*/
public ExceptionUI(Throwable e) {
setup(e, "https://github.com/ecx86/jda/issues");
setup(e, JDA.ISSUE_TRACKER_URL);
}

/**
* @param e The exception to be shown
*/
public ExceptionUI(String e) {
setup(e, "https://github.com/ecx86/jda/issues");
setup(e, JDA.ISSUE_TRACKER_URL);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected String parseException(Throwable e) {
e.printStackTrace(new PrintWriter(sw));
e.printStackTrace();
String exception = "JDA v" + JDA.version + JDA.nl + JDA.nl + sw.toString();
return getName() + " encountered a problem! Send the stacktrace to https://github.com/ecx86/jda/issues" + JDA.nl +
return getName() + " encountered a problem! Send the stacktrace to " + JDA.ISSUE_TRACKER_URL + JDA.nl +
JDA.nl +
"Suggested Fix: Click refresh class, if it fails again try another decompiler." + JDA.nl +
JDA.nl +
Expand Down

0 comments on commit 9679c5c

Please sign in to comment.