summaryrefslogtreecommitdiff
path: root/internal/lightgallery/parser.go
diff options
from:
to:
context:
space:
mode:
Diffstat (limited to 'internal/lightgallery/parser.go')
-rw-r--r--internal/lightgallery/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/lightgallery/parser.go b/internal/lightgallery/parser.go
index 78e2229..bd7483a 100644
--- a/internal/lightgallery/parser.go
+++ b/internal/lightgallery/parser.go
@@ -40,7 +40,7 @@ func (p *LightGalleryParser) Open(parent ast.Node, reader text.Reader, pc parser
loc, err := time.LoadLocation(string(parts[1]))
if err != nil {
- slog.Warn("invalid location specified for a gallery", slog.String("line", string(trimmed)), slog.String("location", string(parts[1])))
+ slog.Warn("invalid location specified for a gallery", slog.String("error", err.Error()), slog.String("line", string(trimmed)), slog.String("location", string(parts[1])))
return nil, parser.NoChildren
}