Skip to content

Commit

Permalink
Merge pull request #161 from SOBotics/debug/empty-reasons-cp
Browse files Browse the repository at this point in the history
- added debug output to show reasons posted to CP
  • Loading branch information
FelixSFD authored Mar 31, 2018
2 parents 0a358a7 + c815aa5 commit 61ba1be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>de.felixsfd.stackoverflow</groupId>
<artifactId>guttenberg</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>

<dependencies>
<dependency>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/sobotics/guttenberg/utils/PostUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ public static String storeReport(PostMatch match) throws IOException {
"score", ""+match.getTotalScore(),
"reasons", match.getCopyPastorReasonString());

System.out.println(match.getCopyPastorReasonString());

return prop.getProperty("copypastor_url", "http://localhost:5000") + "/posts/" + output.get("post_id").getAsString();
}

Expand Down

0 comments on commit 61ba1be

Please sign in to comment.