Handle case where field is nil

This commit is contained in:
Jeremy Dormitzer 2020-06-03 17:55:21 -04:00
parent 5b8b758c1a
commit 80b0630c85

View File

@ -137,7 +137,7 @@
(list log-alist (list log-alist
(cl-map 'vector (cl-map 'vector
(lambda (field) (lambda (field)
(alist-get field log-alist)) (or (alist-get field log-alist) ""))
structlog-fields))) structlog-fields)))
structlog-logs))) structlog-logs)))