From 3b12555047c62b16ad96104600bdafb699ead6c3 Mon Sep 17 00:00:00 2001 From: Mordan Vitalii Date: Tue, 21 Nov 2023 14:26:51 +0700 Subject: [PATCH] Specify missing file name in exception --- scripts/mea/et/internal_witness.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mea/et/internal_witness.py b/scripts/mea/et/internal_witness.py index 3413643..74544a9 100644 --- a/scripts/mea/et/internal_witness.py +++ b/scripts/mea/et/internal_witness.py @@ -161,7 +161,7 @@ def add_file(self, file_name): self._logger.warning(no_file_str) if no_file_str not in self._warnings: self._warnings.append(f"There is no file {file_name}") - raise FileNotFoundError + raise FileNotFoundError(f"There is no file {file_name}") self._files.append(file_name) return self._resolve_file_id(file_name) return self._resolve_file_id(file_name)