"Use --error-trace for full trace." "Parsing Error: The --error-trace option is unknown."
carcinocron opened this issue · comments
carcinocron commented
Showing last frame. Use --error-trace for full trace.
In /usr/share/crystal/src/http/params.cr:199:23
199 | raw_params[name][0] = value
^
Error: no overload matches 'Array(String)#[]=' with types Int32, Int32
Overloads are:
- Array(T)#[]=(index : Int, count : Int, values : Array(T))
- Array(T)#[]=(index : Int, count : Int, value : T)
- Array(T)#[]=(index : Int, value : T)
- Array(T)#[]=(range : Range, values : Array(T))
- Array(T)#[]=(range : Range, value : T)
^C05:15:26 amber.server | (Info) Shutting down Amber
mkl@drip20:~/hnpipe72$ ^C
mkl@drip20:~/hnpipe72$ amber watch --error-trace
Parsing Error: The --error-trace option is unknown.
Expected behavior: Expecting to be able to see the error trace
Actual behavior: Can't see the error trace
Reproduces how often: 100%
Versions
$ amber --version
Amber CLI (amberframework.org) - v0.36.0
mkl@drip20:~/hnpipe72$ crystal --version
Crystal 0.35.1 [5999ae29b] (2020-06-19)
LLVM: 8.0.0
Default target: x86_64-unknown-linux-gnu
Dru Jensen commented
The --error-trace
is a crystal option. Try compiling your code using crystal build src/{app}.cr --error-trace
.
Elias Perez commented
Marking as resolved