From 80b0630c85bca656ce377411066303bb6fc50908 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 3 Jun 2020 17:55:21 -0400 Subject: [PATCH] Handle case where field is nil --- structlog-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structlog-mode.el b/structlog-mode.el index ec92b44..39195c2 100644 --- a/structlog-mode.el +++ b/structlog-mode.el @@ -137,7 +137,7 @@ (list log-alist (cl-map 'vector (lambda (field) - (alist-get field log-alist)) + (or (alist-get field log-alist) "")) structlog-fields))) structlog-logs)))