diff --git a/README.md b/README.md
index dd37304..99f7c8c 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ To run the application once compiled, simply run the .jar file that should have
Once the process is complete, a .csv file should contain issue information in the .jar file directory.
Please Note: When the .jar file is run, it will overwrite any other issues.csv files in the jar file directory.
-If downloading Issues doesn't work after multiple tries, you may need to copy the [IssuesDownload properties file](https://github.com/psgs/IssuesDownload/blob/master/src/main/resources/IssuesDownload.properties), and place it in the same directory as the .jar file, then edit the file to contain your [personal or an application access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use).
+If downloading Issues doesn't work after multiple tries, you may need to copy the [IssuesDownload properties file](https://github.com/psgs/IssuesDownload/blob/master/src/main/resources/IssuesDownload.properties), and place it in the same directory as the .jar file, then edit the file to contain your [personal or an application access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use) with permission to use user info and public repos.
Releases
--------
diff --git a/pom.xml b/pom.xml
index 546bab7..e7d0c11 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
IssuesDownload
IssuesDownload
- 1.0-RELEASE
+ 1.1-RELEASE
diff --git a/src/main/java/io/github/psgs/issuesdownload/IssuesDownload.java b/src/main/java/io/github/psgs/issuesdownload/IssuesDownload.java
index ee05423..bc5dcc4 100644
--- a/src/main/java/io/github/psgs/issuesdownload/IssuesDownload.java
+++ b/src/main/java/io/github/psgs/issuesdownload/IssuesDownload.java
@@ -14,9 +14,9 @@ public class IssuesDownload {
public static void main(String[] args) {
try {
Config.loadConfiguration();
- } catch (IOException ex) {
- System.out.println("An IOException occurred while loading the configuration!");
- ex.printStackTrace();
+ } catch (Throwable t) {
+ System.out.println("An error " + t.getClass().getName() + " has occurred reaching '" + t.getMessage() + "' while loading the configuration!");
+ t.printStackTrace();
}
GUI.main(args);
}
@@ -54,13 +54,11 @@ public static String saveIssues(String repoDetails, GHIssueState issueState) {
writer.flush();
writer.close();
return "Download Complete!";
- } catch (IOException ex) {
- System.out.println("An IOException has occurred!");
- ex.printStackTrace();
- if (ex.getMessage().equalsIgnoreCase("api.github.com")) {
- return "An error has occurred reaching " + ex.getMessage() + "! Please check your network connection.";
- }
+ } catch (Throwable t) {
+ System.out.println("An error " + t.getClass().getName() + " has occurred reaching '" + t.getMessage() + "'!");
+ t.printStackTrace();
+ return "An error " + t.getClass().getName() + " has occurred reaching '" + t.getMessage() + "'!";
}
- return "An error has occurred!";
+ //return "An error has occurred!";
}
}
diff --git a/src/main/java/io/github/psgs/issuesdownload/gui/GUI.form b/src/main/java/io/github/psgs/issuesdownload/gui/GUI.form
index 366ede5..b6b6223 100644
--- a/src/main/java/io/github/psgs/issuesdownload/gui/GUI.form
+++ b/src/main/java/io/github/psgs/issuesdownload/gui/GUI.form
@@ -90,7 +90,7 @@
-
+
diff --git a/src/main/java/io/github/psgs/issuesdownload/gui/GUI.java b/src/main/java/io/github/psgs/issuesdownload/gui/GUI.java
index f54b7f4..5ce2f38 100644
--- a/src/main/java/io/github/psgs/issuesdownload/gui/GUI.java
+++ b/src/main/java/io/github/psgs/issuesdownload/gui/GUI.java
@@ -26,9 +26,9 @@ private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setFont(new java.awt.Font("Tahoma", Font.BOLD, 15)); // NOI18N
- jLabel1.setText(" Issues Download v1.0-SNAPSHOT");
+ jLabel1.setText(" Issues Download v1.1-SNAPSHOT");
- jTextField1.setText("Path to Repository (psgs/IssuesDownload)");
+ jTextField1.setText("UserName/RepoName");
jButton1.setText("Download");
jButton1.addActionListener(new java.awt.event.ActionListener() {