Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed server getting stuck on deleted files #2738

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions backend/src/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,25 @@ def collect_input_information(
if not enforced:
try:
value = node_input.enforce_(value) # noqa
except Exception as e:
except Exception:
logger.error(
f"Error enforcing input {node_input.label} (id {node_input.id})",
e,
exc_info=True,
)
# We'll just try using the un-enforced value. Maybe it'll work.

try:
input_dict[node_input.id] = node_input.get_error_value(value)
except Exception as e:
except Exception:
logger.error(
f"Error getting error value for input {node_input.label} (id {node_input.id})",
e,
exc_info=True,
)

return input_dict
except Exception as outer_e:
except Exception:
# this method must not throw
logger.error("Error collecting input information.", outer_e)
logger.error("Error collecting input information.", exc_info=True)
return {}


Expand Down