Revert "feat: add centralized logging utilities"

This commit is contained in:
CanbiZ
2025-08-25 14:30:28 +02:00
committed by GitHub
parent 3dbd94b61f
commit af46e22bd2
7 changed files with 2 additions and 119 deletions

View File

@@ -32,7 +32,6 @@ error_handler() {
local exit_code="$?"
local line_number="$1"
local command="$2"
log_error "line $line_number: exit code $exit_code while executing command $command"
local error_message="${RD}[ERROR]${CL} in line ${RD}$line_number${CL}: exit code ${RD}$exit_code${CL}: while executing command ${YW}$command${CL}"
echo -e "\n$error_message\n"
}