You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
I have found linter (both fixjsstyle ang gjslint) sometimes crashing with very
obscure errors like:
AttributeError: 'NoneType' object has no attribute 'string
Now, I don't mind obscure errors, I have the linter source so I can kind of
infer what they mean, but it would help so much if you just printed a message
such as:
An unexpected error occurred whilst processing file ....../x/x/x.js:
... Stack Trace...
AttributeError: 'NoneType' object has no attribute 'string
As most of the time the cause of these obscure errors is clear if you just look
at the file.
I do this by just using a stdout.print in fixjsstyle.py however, not being
familiar enough with the linter source I would rather not submit my hack as a
patch as I'm sure a more appropriate location exists to do this debugging.
Guido
Original issue reported on code.google.com by [email protected] on 20 May 2013 at 10:21
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 20 May 2013 at 10:21The text was updated successfully, but these errors were encountered: