From b70204c5b1165560223e8a6b880907c49a03f04f Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Sun, 31 Mar 2024 13:41:22 +0100 Subject: [PATCH] Clarify config file not found exception message Signed-off-by: Jim Madge --- lib/Service/Importer/BoardImportCommandService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/Importer/BoardImportCommandService.php b/lib/Service/Importer/BoardImportCommandService.php index 7be2877d8..9cf3b3839 100644 --- a/lib/Service/Importer/BoardImportCommandService.php +++ b/lib/Service/Importer/BoardImportCommandService.php @@ -84,7 +84,7 @@ class BoardImportCommandService extends BoardImportService { if (is_string($config)) { if (!is_file($config)) { - throw new NotFoundException('It\'s not a valid config file.'); + throw new NotFoundException('Config file not found.'); } $config = json_decode(file_get_contents($config)); if (!$config instanceof \stdClass) {