Skip to content

Commit a47ad1d

Browse files
committed
TRIAGE-179: Fix error handling
1 parent 4d56413 commit a47ad1d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ios/Classes/SwiftMparticleFlutterSdkPlugin.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public class SwiftMparticleFlutterSdkPlugin: NSObject, FlutterPlugin {
140140
})
141141
} else {
142142
print("Incorrect argument for \(call.method) iOS method: identityRequest is required for modify")
143+
result(FlutterError(code: "INVALID_ARGUMENTS", message: "identityRequest is required for modify", details: nil))
143144
}
144145
break;
145146
// user methods

0 commit comments

Comments
 (0)