Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve error messages by including the path#356

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
simhnna wants to merge1 commit intopillarjs:master
base:master
Choose a base branch
Loading
fromsimhnna:include-path-in-error-messages

Conversation

simhnna
Copy link
Contributor

Without the path users need to search all their code for a malformed path or debug to find the issue

Closes:#336

Kakulukian reacted with thumbs up emoji
Without the path users need to search all their code for a malformedpath or debug to find the issueCloses:pillarjs#336
@simhnna
Copy link
ContributorAuthor

Tried a couple of different places to include the path in the error message and I think prepending it is the easiest to read but if you'd like it somewhere else I'd update accordingly

Copy link
Member

@blakeembreyblakeembrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I appreciate this PR, it's a great direction! However I think it'd be good to avoid usingstringify as it can output a different path to the original input, and instead add aoriginalPath or something toTokenData. I can open a PR you can review if that's OK?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@blakeembreyblakeembreyblakeembrey left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Improve error message when parsing fails
2 participants
@simhnna@blakeembrey

[8]ページ先頭

©2009-2025 Movatter.jp