Skip to content

Commit

Permalink
Merge pull request #1871 from dk2k/TIKA-4290_throw
Browse files Browse the repository at this point in the history
TIKA-4290 Throw created TikaConfigException
  • Loading branch information
THausherr committed Aug 4, 2024
2 parents 2a26327 + 928fdb1 commit 34c9b3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private void checkFetchEmitValidity(String fetcherName, String emitterName, Fetc
}

if (StringUtils.isBlank(fetcherName) && !StringUtils.isBlank(fetchKeyColumn)) {
new TikaConfigException("If specifying a 'fetchKeyColumn', " + "you must also specify a 'fetcherName'");
throw new TikaConfigException("If specifying a 'fetchKeyColumn', " + "you must also specify a 'fetcherName'");
}

if (StringUtils.isBlank(fetcherName)) {
Expand Down

0 comments on commit 34c9b3e

Please sign in to comment.