lib/rapporteur/revision.rb in rapporteur-3.6.4 vs lib/rapporteur/revision.rb in rapporteur-3.7.0
- old
+ new
@@ -34,10 +34,10 @@
#
# Returns a String containing the current git revision, hopefully.
#
def self.default_revision_source
`git rev-parse HEAD 2>/dev/null`.strip
- rescue
+ rescue StandardError
end
# Internal: Calculates the current revision from the configured revision
# source.
#