repl: fix error message
While looking at the ERR_INVALID_ARG_TYPE
errors, I stumbled across this one. The property name should be passed to the internal error instead of the type.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
repl