send actual error message
This commit is contained in:
parent
9df9f47df5
commit
b3ea0b5bf3
|
@ -192,7 +192,7 @@ class StatusKeycard: RCTEventEmitter {
|
|||
do {
|
||||
try body(self.cardChannel!)
|
||||
} catch {
|
||||
reject("E_KEYCARD", "error", error)
|
||||
reject("E_KEYCARD", "\(error)", error)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue