Skip to content

Commit 9298b4c

Browse files
author
Mukul Tayal
committed
toast message for no logs
1 parent e078068 commit 9298b4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/v2/appDetails/k8Resource/nodeDetail/nodeDetail.api.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,9 @@ export const downloadLogs = async (
192192
.then(async (response) => {
193193
try {
194194
if(response.status === 204){
195-
toast.error(response.statusText)
195+
toast.error('No logs found')
196196
return;
197197
}
198-
console.log('response', response)
199198
const data = await (response as any).blob()
200199
// Create a new URL object
201200
const blobUrl = URL.createObjectURL(data)

0 commit comments

Comments
 (0)