mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-15 02:38:42 +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(
|
WebsocketNotificationHandler.sendCsvExportCompleteNotification(
|
||||||
jobId, securityContext, csvData);
|
jobId, securityContext, csvData);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
LOG.error("Encountered Exception while exporting.", e);
|
||||||
WebsocketNotificationHandler.sendCsvExportFailedNotification(
|
WebsocketNotificationHandler.sendCsvExportFailedNotification(
|
||||||
jobId, securityContext, e.getMessage());
|
jobId, securityContext, e.getMessage());
|
||||||
}
|
}
|
||||||
@ -669,6 +670,7 @@ public abstract class EntityResource<T extends EntityInterface, K extends Entity
|
|||||||
WebsocketNotificationHandler.sendCsvImportCompleteNotification(
|
WebsocketNotificationHandler.sendCsvImportCompleteNotification(
|
||||||
jobId, securityContext, result);
|
jobId, securityContext, result);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
LOG.error("Encountered Exception while importing.", e);
|
||||||
WebsocketNotificationHandler.sendCsvImportFailedNotification(
|
WebsocketNotificationHandler.sendCsvImportFailedNotification(
|
||||||
jobId, securityContext, e.getMessage());
|
jobId, securityContext, e.getMessage());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user