fix odebug calls
This commit is contained in:
parent
565becc904
commit
a6643b4adf
@ -82,7 +82,7 @@ module Cask
|
|||||||
check_bitbucket_repository
|
check_bitbucket_repository
|
||||||
self
|
self
|
||||||
rescue => e
|
rescue => e
|
||||||
odebug "#{e.message}\n#{e.backtrace.join("\n")}"
|
odebug e, e.backtrace
|
||||||
add_error "exception while auditing #{cask}: #{e.message}"
|
add_error "exception while auditing #{cask}: #{e.message}"
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
@ -50,7 +50,7 @@ class FormulaVersions
|
|||||||
rescue *IGNORED_EXCEPTIONS => e
|
rescue *IGNORED_EXCEPTIONS => e
|
||||||
# We rescue these so that we can skip bad versions and
|
# We rescue these so that we can skip bad versions and
|
||||||
# continue walking the history
|
# continue walking the history
|
||||||
odebug "#{e} in #{name} at revision #{rev}", e.backtrace if debug?
|
odebug "#{e} in #{name} at revision #{rev}", e.backtrace
|
||||||
rescue FormulaUnavailableError
|
rescue FormulaUnavailableError
|
||||||
nil
|
nil
|
||||||
ensure
|
ensure
|
||||||
@ -69,7 +69,7 @@ class FormulaVersions
|
|||||||
end
|
end
|
||||||
return map if versions_seen > MAX_VERSIONS_DEPTH
|
return map if versions_seen > MAX_VERSIONS_DEPTH
|
||||||
rescue MacOSVersionError => e
|
rescue MacOSVersionError => e
|
||||||
odebug "#{e} in #{name} at revision #{rev}" if debug?
|
odebug "#{e} in #{name} at revision #{rev}"
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
map
|
map
|
||||||
|
Loading…
x
Reference in New Issue
Block a user