send actual error message

This commit is contained in:
Michele Balistreri 2020-12-10 15:21:15 +03:00
parent 9df9f47df5
commit b3ea0b5bf3
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class StatusKeycard: RCTEventEmitter {
do {
try body(self.cardChannel!)
} catch {
reject("E_KEYCARD", "error", error)
reject("E_KEYCARD", "\(error)", error)
}
}
} else {