Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed extra data not being sent in payload for custom Swift errors #338

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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