Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Enable error reporting and release 2.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Piñera committed Oct 6, 2021
1 parent 2fbf077 commit d38f920
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Unreleased
------

Version 2.6.3
------
* Enable error-reporting.

Version 2.6.2
------

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_cli/exception_reporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
2 changes: 1 addition & 1 deletion lib/shopify_cli/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ShopifyCLI
VERSION = "2.6.2"
VERSION = "2.6.3"
end

0 comments on commit d38f920

Please sign in to comment.