Skip to content

Commit e1e24f5

Browse files
allow process errors in wrapper (#102)
1 parent 36b1067 commit e1e24f5

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

openeo_pg_parser_networkx/graph.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -639,12 +639,8 @@ def wrapper(*args, named_parameters=None, **kwargs):
639639
start_dt = datetime.now()
640640
start_timestamp = start_dt.strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
641641

642-
try:
643-
result = func(*args, named_parameters=named_parameters, **kwargs)
644-
status = "Ok"
645-
except Exception as e:
646-
result = str(e)
647-
status = f"Error: {result[:70]}"
642+
result = func(*args, named_parameters=named_parameters, **kwargs)
643+
status = "Ok"
648644

649645
end_dt = datetime.now()
650646
end_timestamp = end_dt.strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "openeo-pg-parser-networkx"
3-
version = "2025.5.2"
3+
version = "2025.8.1"
44

55
description = "Parse OpenEO process graphs from JSON to traversible Python objects."
66
authors = ["Lukas Weidenholzer <[email protected]>", "Sean Hoyal <[email protected]>", "Valentina Hutter <[email protected]>", "Gerald Irsiegler <[email protected]>"]

0 commit comments

Comments
 (0)