Update source/src/services.cpp
This commit is contained in:
@@ -282,8 +282,10 @@ namespace dropshell
|
|||||||
template_info tinfo = gTemplateManager().get_template_info(it->second);
|
template_info tinfo = gTemplateManager().get_template_info(it->second);
|
||||||
if (!tinfo.is_set())
|
if (!tinfo.is_set())
|
||||||
{
|
{
|
||||||
error << "Template '" << it->second << "' not found" << std::endl;
|
// Don't fail here - template might be available from registry but not cached yet
|
||||||
return false;
|
// 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;
|
return true;
|
||||||
|
Reference in New Issue
Block a user