Fix handling of misassigned lcsh / loc links in NodaWikidataFetcher
This commit is contained in:
parent
d55361e29b
commit
bbbc84015b
|
@ -110,7 +110,7 @@ final class NodaWikidataFetcher {
|
||||||
return 'loc';
|
return 'loc';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (MDgenericInvalidInputsException $e) {
|
catch (MDgenericInvalidInputsException | MDInvalidNodaLinkException | MDInvalidNodaLink $e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -118,7 +118,7 @@ final class NodaWikidataFetcher {
|
||||||
return 'lcsh';
|
return 'lcsh';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (MDgenericInvalidInputsException $e) {
|
catch (MDgenericInvalidInputsException | MDInvalidNodaLinkException | MDInvalidNodaLink $e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user