Skip to content

Commit

Permalink
Remove error log when git repo not found
Browse files Browse the repository at this point in the history
This log was probably more noisy than it needed to be. You can still get
details by turning on debug logs, so this is probably good enough.

This fixes #250.
  • Loading branch information
ajoberstar committed Oct 5, 2018
1 parent 5433e19 commit 4e79a05
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class GrgitPlugin implements Plugin<Project> {
prj.ext.grgit = grgit
}
} catch (Exception e) {
project.logger.error("No git repository found for ${project.path}. Accessing grgit will cause an NPE.")
project.logger.debug("Failed trying to find git repository for ${project.path}", e)
project.ext.grgit = null
}
Expand Down

0 comments on commit 4e79a05

Please sign in to comment.