hugo/resource
Bjørn Erik Pedersen 35fbfb19a1
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 #5284
Fixes #5290
See #5325
See #5324
2018-10-16 22:10:56 +02:00
..
bundler
create
integrity
minifier
postcss commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
templates commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
testdata
tocss/scss commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
image.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
image_cache.go
image_test.go
resource.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
resource_cache.go
resource_metadata.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
resource_metadata_test.go
resource_test.go
smartcrop.go
testhelpers_test.go
transform.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
transform_test.go