Enhance logging and error handling in uninstall_databases.sh 12/13512/1
authorssum21 <ssumuss@khu.ac.kr>
Fri, 4 Oct 2024 02:00:08 +0000 (11:00 +0900)
committerssum21 <ssumuss@khu.ac.kr>
Fri, 4 Oct 2024 02:00:24 +0000 (11:00 +0900)
commit6e55b1d76ee0cd22018de4fe3746506ee349db9a
treebf365c7f55a7ea508648fc1ca75d38623d008daf
parent3e49b0629eaeafd721365b7e01a9b4e20818d8d3
Enhance logging and error handling in uninstall_databases.sh

- Improved script readability
- Introduced a `log_message` function to standardize log output with different levels (INFO, ERROR).
- Added success and error logging for PostgreSQL (tm-db) uninstallation.
- Implemented error handling for PostgreSQL (tm-db) uninstallation, with exit on failure.

Issue-ID: AIMLFW-103

Change-Id: I58b4f825fce191853157e8a36870e9cc76bf17c1
Signed-off-by: ssum21 <ssumuss@khu.ac.kr>
bin/uninstall_databases.sh