Browse Source

fix readRaw errors not throwing

master
nitowa 2 years ago
parent
commit
ad9fd09f91
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      package.json
  2. 3
    3
      src/xrpIO/ripple-binding.ts

+ 1
- 1
package.json View File

1
 {
1
 {
2
   "name": "xrpio",
2
   "name": "xrpio",
3
-  "version": "0.0.8",
3
+  "version": "0.0.9",
4
   "repository": {
4
   "repository": {
5
     "type": "git",
5
     "type": "git",
6
     "url": "https://gitea.nitowa.xyz/npm-packages/xrpio.git"
6
     "url": "https://gitea.nitowa.xyz/npm-packages/xrpio.git"

+ 3
- 3
src/xrpIO/ripple-binding.ts View File

154
       minLedgerVersion: 25235454
154
       minLedgerVersion: 25235454
155
     })
155
     })
156
   }catch(e){
156
   }catch(e){
157
-    if(debug){
157
+//    if(debug){
158
       console.log("READRAW ERR", e)
158
       console.log("READRAW ERR", e)
159
-      throw e
160
-    }
159
+//    }
160
+    throw e
161
   }
161
   }
162
 
162
 
163
   if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {
163
   if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {

Loading…
Cancel
Save