diff --git a/services/web/app/coffee/infrastructure/LoggerSerializers.coffee b/services/web/app/coffee/infrastructure/LoggerSerializers.coffee index c45f0f0bb8..33e0078cc8 100644 --- a/services/web/app/coffee/infrastructure/LoggerSerializers.coffee +++ b/services/web/app/coffee/infrastructure/LoggerSerializers.coffee @@ -22,6 +22,8 @@ module.exports = } docs: (docs) -> + if !docs?.map? + return docs.map (doc) -> { path: doc.path @@ -29,6 +31,8 @@ module.exports = } files: (files) -> + if !files?.map? + return files.map (file) -> { path: file.path