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

Get file context in "config parse failed" errors #5325

Closed
bep opened this Issue Oct 16, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Member

bep commented Oct 16, 2018

Related to #5284 -- this config loading is a little bit hidden inside Viper.

@bep bep added the Enhancement label Oct 16, 2018

@bep bep added this to the v0.50 milestone Oct 16, 2018

@bep bep self-assigned this Oct 16, 2018

bep added a commit to bep/hugo that referenced this issue Oct 16, 2018

commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes gohugoio#5284
Fixes gohugoio#5290
See gohugoio#5325
See gohugoio#5324

bep added a commit to bep/hugo that referenced this issue Oct 16, 2018

commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes gohugoio#5284
Fixes gohugoio#5290
See gohugoio#5325
See gohugoio#5324

bep added a commit to bep/hugo that referenced this issue Oct 16, 2018

commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes gohugoio#5284
Fixes gohugoio#5290
See gohugoio#5325
See gohugoio#5324

bep added a commit to bep/hugo that referenced this issue Oct 16, 2018

commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes gohugoio#5284
Fixes gohugoio#5290
See gohugoio#5325
See gohugoio#5324

bep added a commit to bep/hugo that referenced this issue Oct 16, 2018

commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes gohugoio#5284
Fixes gohugoio#5290
See gohugoio#5325
See gohugoio#5324

bep added a commit to bep/hugo that referenced this issue Oct 16, 2018

commands: Show server error info in browser
The main item in this commit is showing of errors with a file context when running `hugo server`.

This can be turned off: `hugo server --disableBrowserError` (can also be set in `config.toml`).

But to get there, the error handling in Hugo needed a revision. There are some items left TODO for commits soon to follow, most notable errors in content and config files.

Fixes gohugoio#5284
Fixes gohugoio#5290
See gohugoio#5325
See gohugoio#5324

bep added a commit to bep/hugo that referenced this issue Oct 22, 2018

bep added a commit to bep/hugo that referenced this issue Oct 22, 2018

bep added a commit to bep/hugo that referenced this issue Oct 22, 2018

@bep bep closed this in ed7b3e2 Oct 23, 2018

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