mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 17:54:32 +00:00
fixed fx macro on ios added troubleshooting.md
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
758cdf6cc2
commit
277f9ffda5
26
TROUBLESHOOTING.md
Normal file
26
TROUBLESHOOTING.md
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
Stacktrace:
|
||||
```
|
||||
13:25:22, Requiring: hi-base32
|
||||
13:25:23, Possible Unhandled Promise Rejection (id: 0):
|
||||
TypeError: undefined is not an object (evaluating 'status_im.utils.handlers.register_handler_fx')
|
||||
eval code
|
||||
eval@[native code]
|
||||
asyncImportScripts$@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:200728:21
|
||||
tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:26567:23
|
||||
invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:26742:32
|
||||
tryCatch@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:26567:23
|
||||
invoke@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:26643:30
|
||||
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:26653:21
|
||||
tryCallOne@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3725:16
|
||||
http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:3826:27
|
||||
_callTimer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:28405:17
|
||||
_callImmediatesPass@http://localhost:8081/index.bundle?pla<…>
|
||||
```
|
||||
|
||||
Cause:
|
||||
- stacktrace mentions `register_handler_fx`,
|
||||
- common cause is when requires have been cleaned up and a require of `status-im.utils.handlers` namespace was removed because it looked like it was unused but was actually used through a fx/defn macro
|
||||
|
||||
Solution:
|
||||
go through known faulty commit looking for deleted requires
|
@ -13,7 +13,9 @@
|
||||
[status-im.utils.money :as money]
|
||||
[status-im.utils.security :as security]
|
||||
[status-im.utils.types :as types]
|
||||
[status-im.utils.utils :as utils]))
|
||||
[status-im.utils.utils :as utils]
|
||||
;;don't remove, used in fx macro
|
||||
[status-im.utils.handlers :as handlers]))
|
||||
|
||||
(re-frame/reg-fx
|
||||
:signing/send-transaction-fx
|
||||
|
Loading…
x
Reference in New Issue
Block a user