Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Commit ec0648b

Browse files
authored
fix: bring through error message to exception (#1037)
1 parent 2e8d72a commit ec0648b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topo_processor/metadata/metadata_loaders/metadata_loader_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def load_metadata(self, asset: Optional[Asset] = None) -> None:
3131
if asset:
3232
asset.add_error(str(e), loader.name, e)
3333
get_log().error("Metadata Load Failed", error=e, loader=loader.name)
34-
raise Exception("Metadata Load Failed") from e
34+
raise Exception(f"Metadata Load Failed: {e}")
3535
get_log().debug(
3636
"Metadata Loaded",
3737
loader=loader.name,

0 commit comments

Comments
 (0)