Skip to content

Commit 4eb4d61

Browse files
fix(ui): Surfacing data product removal api messages (#14382)
1 parent 68329e4 commit 4eb4d61

File tree

1 file changed

+1
-1
lines changed
  • datahub-web-react/src/app/previewV2

1 file changed

+1
-1
lines changed

datahub-web-react/src/app/previewV2/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export function useRemoveDataProductAssets(setShouldRefetchEmbeddedListSearch) {
130130
message.destroy();
131131
if (e instanceof Error) {
132132
message.error({
133-
content: `Failed to remove data product. An unknown error occurred.`,
133+
content: e.message || `Failed to remove data product. An unknown error occurred.`,
134134
duration: 3,
135135
});
136136
}

0 commit comments

Comments
 (0)