efilnikufecin
Member
In a failure of my mind I effectively tried to call substring("text", -20, -53); Well it was an error in calculations, but the problem is that kolmafia did not print an error message at all. I finally found in kolmafia.log:
This led to my finding the error in my script, and fixing it. I'm just wondering if we could get an error message printed to the cli/gcli for when this happens in order to lessen debug time?
Exception during call to substring. Debug log printed.
Lots of crap which you don't care to see
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -748
This led to my finding the error in my script, and fixing it. I'm just wondering if we could get an error message printed to the cli/gcli for when this happens in order to lessen debug time?