Merge pull request #5726 from nextcloud/backport/5723/stable27

[stable27] Clarify config file not found exception message
This commit is contained in:
Julius Härtl
2024-04-23 19:28:20 +02:00
committed by GitHub

View File

@@ -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) {