From d38f920ffc56d884bd63b465f8777c767c9d5623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Pi=C3=B1era?= Date: Wed, 6 Oct 2021 14:57:58 +0200 Subject: [PATCH] Enable error reporting and release 2.6.3 --- CHANGELOG.md | 5 +++++ Gemfile.lock | 2 +- lib/shopify_cli/exception_reporter.rb | 4 ++-- lib/shopify_cli/version.rb | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b2be7b04c..8278e1628a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ Unreleased ------ + +Version 2.6.3 +------ +* Enable error-reporting. + Version 2.6.2 ------ diff --git a/Gemfile.lock b/Gemfile.lock index b0d2546827..b723ceb7f5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - shopify-cli (2.6.2) + shopify-cli (2.6.3) bugsnag (~> 6.22) listen (~> 3.7.0) theme-check (~> 1.7) diff --git a/lib/shopify_cli/exception_reporter.rb b/lib/shopify_cli/exception_reporter.rb index 188525bed8..b83bb303de 100644 --- a/lib/shopify_cli/exception_reporter.rb +++ b/lib/shopify_cli/exception_reporter.rb @@ -30,11 +30,11 @@ def self.report(error, _logs = nil, _api_key = nil, custom_metadata = {}) metadata = {} metadata.merge!(custom_metadata) - # Bugsnag.notify(error, metadata) + Bugsnag.notify(error, metadata) end def self.report? - # return false if ShopifyCLI::Environment.development? + return false if ShopifyCLI::Environment.development? return true if ExceptionReporter::PermissionController.automatic_reporting_prompted? && ExceptionReporter::PermissionController.can_report_automatically? diff --git a/lib/shopify_cli/version.rb b/lib/shopify_cli/version.rb index d2221b800c..8d7b9a4e80 100644 --- a/lib/shopify_cli/version.rb +++ b/lib/shopify_cli/version.rb @@ -1,3 +1,3 @@ module ShopifyCLI - VERSION = "2.6.2" + VERSION = "2.6.3" end