Skip to content
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

[feature] error-logging add file name #73

Open
Stvchm9703 opened this issue Jul 18, 2021 · 1 comment
Open

[feature] error-logging add file name #73

Stvchm9703 opened this issue Jul 18, 2021 · 1 comment

Comments

@Stvchm9703
Copy link

Stvchm9703 commented Jul 18, 2021

add the file name when error is occur;

since I got an error :

Error: Expected expression.
    ╷
127 │ #sass-export-id.deprecations--message{content:"#{}";}
    │                                                ^^
    ╵
  stdin 127:48  root stylesheet
    at Object._newRenderError (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:13231:19)
    at Object._wrapException (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:13059:16)
    at StaticClosure._renderSync (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:13037:18)
    at Object.Primitives_applyFunction (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:1136:30)
    at Object.Function_apply (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:5903:16)
    at _callDartFunctionFast (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:7605:16)
    at Object.renderSync (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass\sass.dart.js:7583:18)
    at Converter.renderPropertyValue (f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass-export\dist\app\converter\converter.js:88:33)
    at f:\Gitrepo\CDT\cdt-fp-component\node_modules\sass-export\dist\app\converter\converter.js:49:50
    at Array.map (<anonymous>) {
  formatted: 'Error: Expected expression.\n' +
    '    ╷\n' +
    '127 │ #sass-export-id.deprecations--message{content:"#{}";}\n' +
    '    │                                                ^^\n' +
    '    ╵\n' +
    '  stdin 127:48  root stylesheet',
  line: 127,
  column: 48,
  file: 'stdin',
  status: 1
}
@Stvchm9703
Copy link
Author

Although I resolve my issue ( entry file is not correct 🤣 )
I still wonder if the error-logging can show which file that it try render to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant