Add quotes around error-causing text / unmapped value in MDImporterMissingConcordance

This commit is contained in:
2025-12-17 15:44:35 +01:00
parent 38a732de6d
commit 7ea8d14689

View File

@@ -70,7 +70,7 @@ final class MDImporterMissingConcordance extends Exception {
}
$exception = new MDImporterMissingConcordance("Unmapped specific value of type " . $target_type . ": " . $value_to_map . PHP_EOL . "Please consult https://concordance.museum-digital.org for filling out missing concordances");
$exception = new MDImporterMissingConcordance("Unmapped specific value of type " . $target_type . ": '" . $value_to_map . '\'' . PHP_EOL . "Please consult https://concordance.museum-digital.org for filling out missing concordances");
$exception->target_type = $target_type;
$exception->value_to_map = $value_to_map;