mirror of
https://github.com/status-im/nfc-react-native.git
synced 2026-08-27 09:51:10 +00:00
0.2.1
This commit is contained in:
@@ -157,8 +157,8 @@ class NfcReactNativeModule extends ReactContextBaseJavaModule implements Activit
|
||||
|
||||
} catch (Exception ex) {
|
||||
StringWriter sw = new StringWriter();
|
||||
PrintWriter pw = new PrintWriter(sw);
|
||||
this.tagPromise.reject(sw.toString());
|
||||
ex.printStackTrace(new PrintWriter(sw));
|
||||
this.tagPromise.reject(sw.toString(), ex.getMessage());
|
||||
} finally {
|
||||
this.operation = OP_NOT_READY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user