Skip to content

Commit

Permalink
Merge pull request #338 from rollbar/matux/321-bug
Browse files Browse the repository at this point in the history
Fixed extra data not being sent in payload for custom Swift errors
  • Loading branch information
matux authored Feb 13, 2024
2 parents 71c1613 + f03b191 commit 8f22dec
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### 3.2.1

- Fixed extra data not being correctly set in the outgoing payload when sending custom Swift errors.
- Removed SonarCloud from the project and CI.

### 3.2.0
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Rollbar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Rollbar"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
2 changes: 1 addition & 1 deletion RollbarAUL.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarAUL"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
2 changes: 1 addition & 1 deletion RollbarCocoaLumberjack.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarCocoaLumberjack"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
2 changes: 1 addition & 1 deletion RollbarCommon.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarCommon"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
2 changes: 1 addition & 1 deletion RollbarCrash.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarCrash"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
2 changes: 1 addition & 1 deletion RollbarDeploys.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarDeploys"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
2 changes: 1 addition & 1 deletion RollbarNotifier.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarNotifier"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#pragma mark - constants

static NSString * const NOTIFIER_VERSION = @"3.2.0";
static NSString * const NOTIFIER_VERSION = @"3.2.1";

static NSString * const NOTIFIER_NAME = @"rollbar-apple";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ -(nullable RollbarPayload *)buildRollbarPayloadWithLevel:(RollbarLevel)level
}

NSMutableDictionary *customData = [NSMutableDictionary dictionaryWithDictionary:self->_config.customData];
if (exception) {
if (exception || error) {
customData[@"error.extra"] = extra.mutableCopy;
customData[@"error.message"] = message;
} else if (crashReport) {
Expand Down
2 changes: 1 addition & 1 deletion RollbarReport.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RollbarReport"
s.version = "3.2.0"
s.version = "3.2.1"
s.summary = "Application or client side SDK for interacting with the Rollbar API Server."
s.description = <<-DESC
Find, fix, and resolve errors with Rollbar.
Expand Down

0 comments on commit 8f22dec

Please sign in to comment.