Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/aethermesh_core/runtime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import hashlib
import json
import logging
import os
import platform
import re
Expand Down Expand Up @@ -51,6 +52,8 @@
validate_validator_software_metadata,
)

logger = logging.getLogger(__name__)

CONFIG_SCHEMA_VERSION = 1
DEFAULT_API_HOST = "127.0.0.1"
DEFAULT_API_PORT = 7280
Expand Down Expand Up @@ -863,10 +866,11 @@ def submit_local_job_status(self, request: dict[str, Any]) -> dict[str, Any]:

try:
accepted = self.submit_local_job(request)
except RuntimeServiceError as exc:
except RuntimeServiceError:
logger.exception("Local job submission rejected due to runtime validation.")
return self._submission_status(
status="rejected",
message=str(exc),
message="Local submission request is invalid.",
validation_state="rejected",
request=request,
)
Expand Down
Loading