Page MenuHomePhabricator

Linter failures don't provide relevant stacktraces
Closed, ResolvedPublic

Description

When a linter fails, it seems that we swallow the stack trace somewhere. As a result, it's difficult to work out how to fix my custom linter.

[2015-05-11 06:49:03] EXCEPTION: (PhutilAggregateException) Some linters failed:
    - CustomPHPLinter: Exception: Unexpected node during static evaluation, of type: n_VARIABLE at [<arcanist>/src/lint/engine/ArcanistLintEngine.php:374]
arcanist(), flarc(), phutil()
  #0 ArcanistLintEngine::run() called at [<arcanist>/src/workflow/ArcanistLintWorkflow.php:320]
  #1 ArcanistLintWorkflow::run() called at [<arcanist>/scripts/arcanist.php:378]

Revisions and Commits

Restricted Differential Revision

Event Timeline

joshuaspence claimed this task.
joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Lint.
joshuaspence added a subscriber: joshuaspence.
joshuaspence added a revision: Restricted Differential Revision.May 11 2015, 9:36 PM
joshuaspence added a project: Arcanist.
joshuaspence added a revision: Restricted Differential Revision.May 15 2015, 2:23 AM
joshuaspence added a revision: Restricted Differential Revision.May 25 2015, 9:04 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.May 26 2015, 1:06 PM
epriestley added a commit: Restricted Diffusion Commit.
joshuaspence added a revision: Restricted Differential Revision.May 31 2015, 2:44 AM