It worked well and was mostly smooth. One thing I noticed is that error messages could be improved.
Here is an example:
Replica Error: reject code CanisterError, reject message IC0503: Canister bkyz2-fmaaa-aaaaa-qaaaq-cai trapped explicitly: Panicked at 'called `Result::unwrap()` on an `Err` value: Uncaught TypeError: not a function
at <anonymous> (main.js:99653)
at executeMethod (main.js:99407)
at <anonymous> (main.js:99451)
1) The Rust part "Panicked at 'called Result::unwrap() on an Err value" is just noise and could be dropped completely.
2) The line numbers are off. Maybe there is a way to put the user file at the beginning of main.js or find a way to use two files.
Hi folks! Thanks for the great work here. I tried version
0.18.6
in my project: https://github.com/ulan/ic-config-canister/blob/main/src/index.tsIt worked well and was mostly smooth. One thing I noticed is that error messages could be improved.
Here is an example:
1) The Rust part "Panicked at 'called
Result::unwrap()
on anErr
value" is just noise and could be dropped completely. 2) The line numbers are off. Maybe there is a way to put the user file at the beginning ofmain.js
or find a way to use two files.