Skip to content

Commit

Permalink
Clarify config file not found exception message
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Madge <[email protected]>
  • Loading branch information
JimMadge committed Mar 31, 2024
1 parent 877c52f commit bf6d2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/Importer/BoardImportCommandService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bf6d2f0

Please sign in to comment.