mirror of https://github.com/apache/cloudstack.git
Throwing an exception incase the template service couldnt register template.
This commit is contained in:
parent
75ae90b073
commit
faaa1365a3
|
|
@ -384,7 +384,7 @@ public class TemplateManagerImpl extends ManagerBase implements TemplateManager,
|
|||
|
||||
return response;
|
||||
} else {
|
||||
return null;
|
||||
throw new CloudRuntimeException("Unable to register template.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue