mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-28 08:42:54 +02:00
core: fix OS version fallback when the host catalog lacks the requested version & harden template validation (#16068)
This commit is contained in:
committed by
GitHub
parent
7cee1cb96a
commit
895cc7fdcf
@@ -376,10 +376,11 @@ error_handler() {
|
||||
active_log="$BUILD_LOG"
|
||||
fi
|
||||
|
||||
# stderr: the trap can fire inside a $(...) capture that would eat this as data
|
||||
if [[ -n "$active_log" && -s "$active_log" ]]; then
|
||||
echo -e "\n${TAB}--- Last 20 lines of log ---"
|
||||
tail -n 20 "$active_log"
|
||||
echo -e "${TAB}-----------------------------------\n"
|
||||
echo -e "\n${TAB}--- Last 20 lines of log ---" >&2
|
||||
tail -n 20 "$active_log" >&2
|
||||
echo -e "${TAB}-----------------------------------\n" >&2
|
||||
fi
|
||||
|
||||
# ── Node.js heap OOM detection with actionable guidance ──
|
||||
|
||||
Reference in New Issue
Block a user