Skip to content

Commit

Permalink
Removed log statements.
Browse files Browse the repository at this point in the history
Co-authored-by: Adithya Krishna  <[email protected]>
  • Loading branch information
Default2882 and adithyaakrishna authored Nov 22, 2024
1 parent 4f134ed commit 32a2b2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/ui/src/components/tables/InvocationOutputTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function InvocationOutputTable({ indexifyServiceURL, invocationId, namespace, co
try {
const url = `${indexifyServiceURL}/namespaces/${namespace}/compute_graphs/${computeGraph}/invocations/${invocationId}/fn/${function_name}/output/${output_id}`;
const response = await axios.get(url);
console.log("response", response.data,);
const content_type = response.headers['content-type']
const fileExtension = content_type === 'application/json' ? 'json' :
content_type === 'application/octet-stream' ? 'bin' : 'txt';
Expand All @@ -84,7 +83,6 @@ function InvocationOutputTable({ indexifyServiceURL, invocationId, namespace, co
downloadLink.click();
document.body.removeChild(downloadLink);
} catch(error) {
console.error(`Error fetching output for function: ${function_name} in compute graph: ${computeGraph} for output id: ${output_id}"`, error);
toast.error(`Failed to fetch output for function: ${function_name} for output id: ${output_id}`)
}
}, [indexifyServiceURL, invocationId, namespace, computeGraph])
Expand Down

0 comments on commit 32a2b2f

Please sign in to comment.