- Checking for a valid lineno instead of the filename to filter out "(0): Script error." logging - Tracking stack traces separately from exceptions to make debugging easier