Skip to content

Commit

Permalink
Gitconn hotfix, logger now works without git connected
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgevl committed Jun 16, 2017
1 parent aace761 commit 3e84d80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util/GitConn.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public GitConn(){
established = false;
System.err.println("EXTLOGGER: No se ha podido establecer conexión con git. Logging sin commit hash.");
}
repository = git.getRepository();

if(established)
repository = git.getRepository();
}

public boolean isConnected(){
Expand Down

0 comments on commit 3e84d80

Please sign in to comment.