mirror of https://github.com/status-im/reagent.git
Merge pull request #472 from dazld/patch-1
Include path in assert error for cursors
This commit is contained in:
commit
ced4a18aaa
|
@ -321,7 +321,9 @@
|
|||
(and (ifn? src)
|
||||
(not (vector? src))))
|
||||
(str "src must be a reactive atom or a function, not "
|
||||
(pr-str src)))
|
||||
(pr-str src)
|
||||
" while attempting to get path: "
|
||||
(pr-str path))
|
||||
(->RCursor src path nil nil nil))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue