diff --git a/engine/frontend/package-lock.json b/engine/frontend/package-lock.json
index 6de90b6baf..25c2e8f347 100644
--- a/engine/frontend/package-lock.json
+++ b/engine/frontend/package-lock.json
@@ -60,7 +60,7 @@
},
"../../api/typescript": {
"name": "kurtosis-sdk",
- "version": "0.84.10",
+ "version": "0.84.11",
"license": "Apache-2.0",
"dependencies": {
"@bufbuild/connect": "^0.12.0",
diff --git a/engine/frontend/src/component/log/CreateEnclaveLog.js b/engine/frontend/src/component/log/CreateEnclaveLog.js
index 03ae039b03..400dc16c9f 100644
--- a/engine/frontend/src/component/log/CreateEnclaveLog.js
+++ b/engine/frontend/src/component/log/CreateEnclaveLog.js
@@ -83,7 +83,6 @@ export const CreateEnclaveLog = ({packageId, enclave, args, appData}) => {
}
const readStreamData = (result) => {
- // console.log(`${result.case} ${JSON.stringify(result.value)}`)
if (result.case === INSTRUCTION) {
setLogs(logs => [...logs, result.value.executableInstruction])
}
@@ -145,6 +144,8 @@ export const CreateEnclaveLog = ({packageId, enclave, args, appData}) => {
}
} catch (ex) {
console.error("Error occurred while reading data from the enclave: ", enclave.name)
+ setLogsExecutionStatusText("Script failed to run with an error")
+ setLogsCurrentExecutionStatus(logsStatus(SCRIPT_RUN_STATUS_ERROR, null))
} finally {
setLoading(false)
}
diff --git a/engine/frontend/src/component/log/Log.js b/engine/frontend/src/component/log/Log.js
index e7a87c6621..35a831f7a2 100644
--- a/engine/frontend/src/component/log/Log.js
+++ b/engine/frontend/src/component/log/Log.js
@@ -31,7 +31,6 @@ export const Log = ({logs, fileName, currentExecutionStatus, executionStatusText
const virtuosoRef = useRef(null)
const {height: windowHeight} = useWindowDimensions();
const {onCopy, setValue: setCopyValue, hasCopied} = useClipboard("");
- const [logsExecutionStatus, setLogsExecutionStatus] = useState(<>>)
useEffect(() => {
setDisplayLogs(logs);
@@ -39,7 +38,6 @@ export const Log = ({logs, fileName, currentExecutionStatus, executionStatusText
return stripAnsi(log)
})
setCopyValue(logsWithoutAnsi.join(os.EOL))
- setLogsExecutionStatus(currentExecutionStatus)
}, [logs]);
const handleDownload = () => {
@@ -82,7 +80,7 @@ export const Log = ({logs, fileName, currentExecutionStatus, executionStatusText
- {logsExecutionStatus}
+ {currentExecutionStatus}