From 2746639b35959eed2206fb6f42320d2133d8a35e Mon Sep 17 00:00:00 2001 From: Johannes Maas Date: Sun, 19 Jul 2020 20:07:38 +0200 Subject: [PATCH] Prefix path in error message with / Previously the root path was displayed as the empty string, which is confusing. --- src/Pages/ContentCache.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/ContentCache.elm b/src/Pages/ContentCache.elm index 17a06832..ea748ef0 100644 --- a/src/Pages/ContentCache.elm +++ b/src/Pages/ContentCache.elm @@ -133,7 +133,7 @@ createBuildError path decodeError = { title = "Metadata Decode Error" , message = [ Terminal.text "I ran into a problem when parsing the metadata for the page with this path: " - , Terminal.text (String.join "/" path) + , Terminal.text ("/" ++ String.join "/" path) , Terminal.text "\n\n" , Terminal.text decodeError ]