diff options
Diffstat (limited to 'lib/dependabot/cli/scan.rb')
| -rw-r--r-- | lib/dependabot/cli/scan.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dependabot/cli/scan.rb b/lib/dependabot/cli/scan.rb index b67331b..f03cf95 100644 --- a/lib/dependabot/cli/scan.rb +++ b/lib/dependabot/cli/scan.rb @@ -31,8 +31,11 @@ module Dependabot end def update(dependency) - ::Dependabot.logger.debug("Updating #{dependency.name}…") + ::Dependabot.logger.info("Updating #{dependency.name}…") ::Dependabot::Publish.new(dependency).update!(push: options[:push]) + rescue StandardError => boom + Dependabot.logger.error(boom) + boom.backtrace.each { |x| Dependabot.logger.debug(x) } end def match?(dependency) |
