This commit is contained in:
@@ -99,8 +99,9 @@ public class GlobalSearchAsyncProcessor {
|
|||||||
emailService.sendTokensNotFoundEmail(user, currentTokens, TariffConstants.TOKEN_VALUE_FOR_SEARCH);
|
emailService.sendTokensNotFoundEmail(user, currentTokens, TariffConstants.TOKEN_VALUE_FOR_SEARCH);
|
||||||
|
|
||||||
result.setFileStatus(SearchStatus.FAILED.name());
|
result.setFileStatus(SearchStatus.FAILED.name());
|
||||||
|
globalSearchResultRepository.save(result);
|
||||||
|
|
||||||
return globalSearchResultRepository.save(result);
|
throw new TariffNotFoundException("Tariff not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
result = globalSearchResultRepository.save(result);
|
result = globalSearchResultRepository.save(result);
|
||||||
|
|||||||
Reference in New Issue
Block a user