fix that sometimes error filename is unknown (like when spidermonkey raises warnings that are not pending exceptions