diff options
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | internal/lightgallery/parser.go | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -16,4 +16,6 @@ COPY --from=build-stage /builddir/views /app/views COPY --from=build-stage /builddir/locale/*.yaml /app/locale/ COPY --from=build-stage /builddir/config/config.yaml /app/config.yaml +RUN apk add --no-cache tzdata + ENTRYPOINT [ "/app/sayana-demo", "-c", "/app/config.yaml" ] 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 } |