This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new daf02062 Remove verbose messages
daf02062 is described below
commit daf02062305a0a886c6786f102332be103e7c9d3
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Thu Feb 29 11:51:27 2024 -0500
Remove verbose messages
---
karavan-app/src/main/webui/src/api/NotificationApi.tsx | 4 ++--
karavan-app/src/main/webui/src/api/ProjectService.ts | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/karavan-app/src/main/webui/src/api/NotificationApi.tsx
b/karavan-app/src/main/webui/src/api/NotificationApi.tsx
index cabf1c9e..fd41bc65 100644
--- a/karavan-app/src/main/webui/src/api/NotificationApi.tsx
+++ b/karavan-app/src/main/webui/src/api/NotificationApi.tsx
@@ -66,10 +66,10 @@ export class NotificationApi {
} else if (response.status >= 400 && response.status < 500 &&
response.status !== 429) {
// client-side errors are usually non-retriable:
console.log("Server side error ", response);
- EventBus.sendAlert("Error fetching", `${input} :
${response.statusText}`, "danger");
+ // EventBus.sendAlert("Error fetching", `${input} :
${response.statusText}`, "danger");
} else {
console.log("Error ", response);
- EventBus.sendAlert("Error fetching", `${input} :
${response.statusText}`, "danger");
+ // EventBus.sendAlert("Error fetching", `${input} :
${response.statusText}`, "danger");
}
},
onmessage(event) {
diff --git a/karavan-app/src/main/webui/src/api/ProjectService.ts
b/karavan-app/src/main/webui/src/api/ProjectService.ts
index 38b19e07..2281075b 100644
--- a/karavan-app/src/main/webui/src/api/ProjectService.ts
+++ b/karavan-app/src/main/webui/src/api/ProjectService.ts
@@ -43,7 +43,7 @@ export class ProjectService {
useLogStore.setState({showLog: true, type: 'container',
podName: res.data})
} else {
console.log(res);
- EventBus.sendAlert('Error Starting DevMode container',
res.statusText, 'warning')
+ // EventBus.sendAlert('Error Starting DevMode container',
res.statusText, 'warning')
}
});
}