-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSComplexityBear fails sometimes #729
Labels
Comments
Thanks for reporting this issue! A coalaian will look at it soon. |
We should log this as an error properly. |
maybe we should in the general json case catch the decode error and log the unparsable JSON output with it so it's actually useful. We could pack that into a utility method so all JSON using bears can use it. |
AbdealiLoKo
added a commit
that referenced
this issue
Aug 31, 2016
Ths commits adds the feature to this bear to give a result when the tool is unable to parse the code at all. This is given as a MAJOR error as this a fault in the javascript code in itself. Fixes #729
AbdealiLoKo
added a commit
that referenced
this issue
Aug 31, 2016
Ths commits adds the feature to this bear to give a result when the tool is unable to parse the code at all. This is given as a MAJOR error as this a fault in the javascript code in itself. Fixes #729
AbdealiLoKo
added a commit
that referenced
this issue
Sep 1, 2016
Ths commits adds the feature to this bear to give a result when the tool is unable to parse the code at all. This is given as a MAJOR error as this a fault in the javascript code in itself. Fixes #729
AbdealiLoKo
added a commit
that referenced
this issue
Sep 2, 2016
Ths commits adds the feature to this bear to give a result when the tool is unable to parse the code at all. This is given as a MAJOR error as this a fault in the javascript code in itself. Fixes #729
sils
pushed a commit
that referenced
this issue
Sep 2, 2016
Ths commits adds the feature to this bear to give a result when the tool is unable to parse the code at all. This is given as a MAJOR error as this a fault in the javascript code in itself. Fixes #729
gosom
pushed a commit
to gosom/coala-bears
that referenced
this issue
Jul 15, 2017
Ths commits adds the feature to this bear to give a result when the tool is unable to parse the code at all. This is given as a MAJOR error as this a fault in the javascript code in itself. Fixes coala#729
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes the output seems to be like
Fatal error [getReports]: /home/lasse/prog/kiwi/frontend/frontend/common/pages/Deals.js: Line 1: Unexpected token
and then we try to jsonify it which fails the bear.type/bug - we should do something about this.
The text was updated successfully, but these errors were encountered: