Fix missing/broken error messages
Description
Error messages were showing up like so:
Error: Internal error: .
This is because of a problem with handling strings in the custom interpolation function.
How Has This Been Tested?
Tested it manually, that after the change the original error showed up correctly.
PS: This is a rather critical bug IMO - it's decreasing the quality/trustworthiness of the project.
@uuf6429 Can you give an example of a reproduction and the resulting error messages before and after ?
@inferrinizzard simply call panic("test"); from anywhere, it will show the following in the console: Error: Internal error: . With my fix it would be Error: Internal error: test.
PS: I'm guessing this stuff is not tested, otherwise the original problem would have been long caught. I also don't know how/where to test it, the project is pretty big and the test code somewhat messy.