- Catch no app run exception (#16246)

This commit is contained in:
Mohit Yadav 2024-05-14 11:39:20 +05:30 committed by GitHub
parent ed7f8cd915
commit 08564037e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,6 @@ import org.openmetadata.service.apps.ApplicationHandler;
import org.openmetadata.service.apps.scheduler.AppScheduler; import org.openmetadata.service.apps.scheduler.AppScheduler;
import org.openmetadata.service.clients.pipeline.PipelineServiceClientFactory; import org.openmetadata.service.clients.pipeline.PipelineServiceClientFactory;
import org.openmetadata.service.exception.EntityNotFoundException; import org.openmetadata.service.exception.EntityNotFoundException;
import org.openmetadata.service.exception.UnhandledServerException;
import org.openmetadata.service.fernet.Fernet; import org.openmetadata.service.fernet.Fernet;
import org.openmetadata.service.jdbi3.AppRepository; import org.openmetadata.service.jdbi3.AppRepository;
import org.openmetadata.service.jdbi3.CollectionDAO; import org.openmetadata.service.jdbi3.CollectionDAO;
@ -341,7 +340,7 @@ public class OpenMetadataOperations implements Callable<Integer> {
getValueOrUnavailable(appRunRecord.getFailureContext()))); getValueOrUnavailable(appRunRecord.getFailureContext())));
printToAsciiTable(columns, rows, "Failed to run Search Reindexing"); printToAsciiTable(columns, rows, "Failed to run Search Reindexing");
} }
} catch (UnhandledServerException ignored) { } catch (Exception ignored) {
} }
LOG.info( LOG.info(
"Reindexing Status not available yet, waiting for 10 seconds to fetch the status again."); "Reindexing Status not available yet, waiting for 10 seconds to fetch the status again.");