tworld icon indicating copy to clipboard operation
tworld copied to clipboard

More detail in error messages

Open erkyrath opened this issue 11 years ago • 3 comments

E.g. "Properties may only be set in action code" (which?)

erkyrath avatar Jul 10 '13 18:07 erkyrath

Be even nicer if we tracked in which code property the exception occurs. This probably requires the same work as for "lexical scope".

erkyrath avatar Jul 10 '13 18:07 erkyrath

Maybe it would be possible to add line numbers and print out the line where the error occured? My problem was that I knew the problem was in the desc property, but it has more the 100 lines. So it wasn't easy to track down the error.

ChristopherS avatar Jul 10 '13 21:07 ChristopherS

Yeah, line numbers should be possible too.

For now I have a minimal improvement where it names the property that it failed to assign to.

erkyrath avatar Jul 11 '13 05:07 erkyrath