Skip to content

Show path in the error message (#1396) #1399

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

Merged
merged 1 commit into from
Dec 14, 2020
Merged

Show path in the error message (#1396) #1399

merged 1 commit into from
Dec 14, 2020

Conversation

u7693
Copy link
Contributor

@u7693 u7693 commented Dec 14, 2020

With this pull request, in the case of the example in #1396, the error message will look like this:

2020-12-14 15:31:55 [INFO] (mdbook::book): Book building has started
2020-12-14 15:31:55 [INFO] (mdbook::book): Running the html backend
2020-12-14 15:31:55 [ERROR] (mdbook::utils): Error: Rendering failed
2020-12-14 15:31:55 [ERROR] (mdbook::utils):    Caused By: Failed to read "/home/u7693/Workspace/book/src/not-found"
2020-12-14 15:31:55 [ERROR] (mdbook::utils):    Caused By: No such file or directory (os error 2)

Fixes #1396

Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

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

Thanks!

@ehuss ehuss merged commit 45a4810 into rust-lang:master Dec 14, 2020
@u7693 u7693 deleted the issue-1396 branch December 14, 2020 16:16
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

Successfully merging this pull request may close these issues.

Rendering failed when book directory contains broken symlink
2 participants