From bf6d2f066756ef9f33e5f5eeb65a6dbfc7a7fb12 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 @@ protected function validateConfig(): void { 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) {