hugo/hugolib
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
..
filesystems
pagemeta commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
paths commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
testdata
testsite
404_test.go
alias.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
alias_test.go
author.go
case_insensitive_test.go
collections.go
collections_test.go
config.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
config_test.go
datafiles_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
disableKinds_test.go
embedded_shortcodes_test.go Re-organize the figure shortcode for better readability 2018-10-03 09:55:53 +03:00
embedded_templates_test.go
fileInfo.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
gitinfo.go
hugo_info.go
hugo_info_test.go
hugo_sites.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
hugo_sites_build.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
hugo_sites_build_errors_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
hugo_sites_build_test.go
hugo_sites_multihost_test.go
hugo_themes_test.go
language_content_dir_test.go
media.go
menu.go
menu_test.go
minify_publisher_test.go
multilingual.go
orderedMap.go
orderedMap_test.go
page.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
page_bundler.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
page_bundler_capture.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
page_bundler_capture_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
page_bundler_handlers.go
page_bundler_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
page_collections.go
page_collections_test.go
page_output.go
page_paths.go
page_paths_test.go
page_permalink_test.go
page_resource.go
page_taxonomy_test.go
page_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
page_time_integration_test.go
page_without_content.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pages_language_merge.go
pages_language_merge_test.go
pages_related.go
pages_related_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go helpers: Consolidate MakeSegment vs MakePathSanitized 2018-10-03 15:55:25 +02:00
permalinks_test.go hugolib: Normalize permalink path segments 2018-10-03 11:02:15 +03:00
prune_resources.go
resource_chain_test.go tpl/collections: Fix handling of different interface types in Slice 2018-10-02 23:54:16 +03:00
robotstxt_test.go
rss_test.go
shortcode.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
shortcode_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
shortcodeparser.go
shortcodeparser_test.go
site.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
site_benchmark_test.go
site_output.go
site_output_test.go
site_render.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
site_sections.go hugolib: Allow nil to be unwrapped as *Page 2018-10-03 09:33:42 +03:00
site_sections_test.go hugolib: Allow nil to be unwrapped as *Page 2018-10-03 09:33:42 +03:00
site_stats_test.go
site_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go hugolib: Normalize permalink path segments 2018-10-03 11:02:15 +03:00
template_engines_test.go
template_test.go
testhelpers_test.go commands: Show server error info in browser 2018-10-16 22:10:56 +02:00
translations.go