Skip to content

Commit

Permalink
fix: raise the error
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Nov 27, 2024
1 parent 4d57429 commit 12ddc7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions conda_forge_tick/make_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,14 @@ def get_attrs(name: str, mark_not_archived=False) -> LazyJson:
data = load_feedstock(
name, sub_graph.data, mark_not_archived=mark_not_archived
)
sub_graph.clear()
sub_graph.update(data)
except Exception as e:
import traceback

trb = traceback.format_exc()
data["parsing_error"] = sanitize_string(f"make_graph: {e}\n{trb}")
sub_graph.clear()
sub_graph.update(data)
sub_graph["parsing_error"] = sanitize_string(f"make_graph: {e}\n{trb}")
raise e

return lzj

Expand Down

0 comments on commit 12ddc7c

Please sign in to comment.