Skip to content

Commit

Permalink
Merge pull request #5723 from JimMadge/import_config_not_found
Browse files Browse the repository at this point in the history
Clarify config file not found exception message
  • Loading branch information
juliusknorr authored Apr 3, 2024
2 parents 40ca528 + bf6d2f0 commit f0a1ff3
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 f0a1ff3

Please sign in to comment.