mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-14 10:18:23 +00:00
Add Logs for import export (#20709)
This commit is contained in:
parent
a0543617b3
commit
bc701ae993
@ -543,6 +543,7 @@ public abstract class EntityResource<T extends EntityInterface, K extends Entity
|
||||
WebsocketNotificationHandler.sendCsvExportCompleteNotification(
|
||||
jobId, securityContext, csvData);
|
||||
} catch (Exception e) {
|
||||
LOG.error("Encountered Exception while exporting.", e);
|
||||
WebsocketNotificationHandler.sendCsvExportFailedNotification(
|
||||
jobId, securityContext, e.getMessage());
|
||||
}
|
||||
@ -669,6 +670,7 @@ public abstract class EntityResource<T extends EntityInterface, K extends Entity
|
||||
WebsocketNotificationHandler.sendCsvImportCompleteNotification(
|
||||
jobId, securityContext, result);
|
||||
} catch (Exception e) {
|
||||
LOG.error("Encountered Exception while importing.", e);
|
||||
WebsocketNotificationHandler.sendCsvImportFailedNotification(
|
||||
jobId, securityContext, e.getMessage());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user