Clarify config file not found exception message

Signed-off-by: Jim Madge <jmadge@turing.ac.uk>
This commit is contained in:
Jim Madge
2024-04-03 08:29:31 +00:00
committed by backportbot[bot]
parent 821a74220e
commit dafe8077d6
@@ -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) {