From e723a7ffef8e9da8ef82df24f448e4da6a88aef5 Mon Sep 17 00:00:00 2001 From: Lauri Himanen <lauri.himanen@aalto.fi> Date: Tue, 8 Jan 2019 14:33:44 +0200 Subject: [PATCH] Lowered the logger warning level for not finding files. --- common/python/nomadcore/baseclasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/python/nomadcore/baseclasses.py b/common/python/nomadcore/baseclasses.py index 265cd76..eee7ba1 100644 --- a/common/python/nomadcore/baseclasses.py +++ b/common/python/nomadcore/baseclasses.py @@ -252,7 +252,7 @@ class FileService(object): """ path = self.map_id_to_path.get(file_id) if path is None: - logger.error("The id '{}' has no path associated with it.".format(file_id)) + logger.warning("The id '{}' has no path associated with it.".format(file_id)) return None else: return path -- GitLab