Skip to content

Commit

Permalink
Merge pull request #27 from adeven/development
Browse files Browse the repository at this point in the history
Handle NullPointerExceptions related to package persistence
  • Loading branch information
wellle committed Nov 26, 2013
2 parents 70403eb + 05b9ffa commit 7b65a6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AdjustIo/src/com/adeven/adjustio/PackageHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private void readPackageQueue() {
}
} catch (FileNotFoundException e) {
Logger.verbose("Package queue file not found");
} catch (IOException e) {
} catch (Exception e) {
Logger.error("Failed to read package queue file");
}

Expand All @@ -222,7 +222,7 @@ private void writePackageQueue() {
} finally {
objectStream.close();
}
} catch (IOException e) {
} catch (Exception e) {
Logger.error(String.format("Failed to write packages (%s)", e.getLocalizedMessage()));
e.printStackTrace();
}
Expand Down

0 comments on commit 7b65a6c

Please sign in to comment.