You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by benkeen <gi...@git.apache.org> on 2016/04/05 19:20:17 UTC

[GitHub] couchdb-fauxton pull request: Improve Less error display

GitHub user benkeen opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/680

    Improve Less error display

    When there's a less error thrown it doesn't contain any useful
    information to help debug the issue.
    
    This tweaks it a bit to output the filepath  and the error details.
    
    e.g. it now displays something like:
    
    ```
    --> error with:  app/addons/warehouse/assets/less/warehouse.less { [Error: '../../../../assets/less/mixins.less' wasn't found]
      type: 'File',
      message: '\'../../../../assets/less/mixins.less\' wasn\'t found',
      filename: 'input',
      index: 53,
      line: 2,
      callLine: NaN,
      callExtract: undefined,
      column: 0,
      extract: 
       [ '@import "../../../style/assets/less/variables.less";',
         '@import "../../../../assets/less/mixins.less";',
         '@import "../../../../assets/less/bootstrap/mixins.less";' ] }
    
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benkeen/couchdb-fauxton improve-less-error-display

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/680.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #680
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: Improve Less error display

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen closed the pull request at:

    https://github.com/apache/couchdb-fauxton/pull/680


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---