diff --git a/backend/secuscan/parser_sandbox.py b/backend/secuscan/parser_sandbox.py index bfb560887..6d22cd267 100644 --- a/backend/secuscan/parser_sandbox.py +++ b/backend/secuscan/parser_sandbox.py @@ -262,7 +262,7 @@ def _read_stderr() -> None: plugin_id, _sanitize_stderr(stderr_text), ) - raise ParserSandboxError(plugin_id, f"timed out after {timeout_seconds}s") + raise ParserSandboxError(plugin_id, f"timed out after {timeout_seconds}s", stderr_text) if proc.returncode != 0: logger.error( @@ -280,6 +280,7 @@ def _read_stderr() -> None: raise ParserSandboxError( plugin_id, f"subprocess exited with code {proc.returncode}", + stderr_text, ) stdout_bytes = b"".join(stdout_chunks) @@ -302,6 +303,7 @@ def _read_stderr() -> None: raise ParserSandboxError( plugin_id, f"parser returned non-JSON output: {exc}", + stderr_text, ) if not isinstance(parsed, (dict, list)): diff --git a/frontend/src/components/Background.tsx b/frontend/src/components/Background.tsx index 6aa5066b4..c45514aa2 100644 --- a/frontend/src/components/Background.tsx +++ b/frontend/src/components/Background.tsx @@ -6,7 +6,7 @@ interface BackgroundProps { export default function Background({ state = 'idle' }: BackgroundProps) { return ( -
+