The user folder name on my PC is "nnahito".
I created software in the Nim language, did exe compilation, and distributed it.
One day, a user sent me a screenshot of a runtime error. There is find the stack trace information. I had not written try...catch, so the exceptions were written as they were.
And there it was, my user directory name "nnahito". Of course, that user does not have a directory named nnahito.
How could this have happened? If this is the case, I will not be able to distribute the software I have created. Please tell me how to fix it.
Thank you very much.
The best way would be to only ship binaries compiled in release mode (-d:release).
But if you really want to only disable full paths without anything else, you can use --excessiveStackTrace:off.