Update source/src/services.cpp
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 36s
Build-Test-Publish / build (linux/arm64) (push) Successful in 1m4s

This commit is contained in:
Your Name
2025-08-24 22:07:37 +12:00
parent a44637f78e
commit 3163eabda2

View File

@@ -282,8 +282,10 @@ namespace dropshell
template_info tinfo = gTemplateManager().get_template_info(it->second);
if (!tinfo.is_set())
{
error << "Template '" << it->second << "' not found" << std::endl;
return false;
// Don't fail here - template might be available from registry but not cached yet
// This allows services to be installed even when templates need to be downloaded
warning << "Template '" << it->second << "' not immediately available, may need to download from registry" << std::endl;
// Continue anyway - the actual install/operation will handle downloading if needed
}
return true;