Partial fix of #1408, add missing throw

This commit is contained in:
Torsten Dreyer
2014-03-12 21:10:14 +01:00
parent c851c449da
commit d44a3117d9

View File

@@ -236,7 +236,7 @@ std::string Root::getLocale() const
void Root::scheduleToUpdate(Install* aInstall)
{
if (!aInstall) {
sg_exception("missing argument to scheduleToUpdate");
throw sg_exception("missing argument to scheduleToUpdate");
}
PackageList deps = aInstall->package()->dependencies();