client: plugins: catch lib_docker ctor (Tor plugin)

- Catch if lib_docker constructor fails
- Add note regarding construction
This commit is contained in:
2024-08-15 23:43:00 -07:00
parent 0e2062128b
commit 9e8a448640

View File

@@ -26,7 +26,10 @@ source "${DOCKER_FINANCE_CLIENT_REPO}/client/src/docker/lib/lib_docker.bash"
[[ -z "$global_platform" || -z "$global_arg_delim_1" || -z "$global_user" || -z "$global_tag" ]] && lib_utils::die_fatal
instance="${global_platform}${global_arg_delim_1}${global_user}:${global_tag}"
lib_docker::docker "$instance" # NOTE: "constructor" only needed if calling library directly
# Initialize "constructor"
# NOTE: "constructor" only needed if calling library directly
lib_docker::docker "$instance" || lib_utils::die_fatal
#
# Implementation