fail quickly if we can't find a for DomainStatusNetwork

This commit is contained in:
Evan Prodromou 2011-05-19 15:30:38 -04:00
parent 1a165a5636
commit b9f8e6e8cc

View File

@ -77,6 +77,7 @@ class DomainStatusNetworkPlugin extends Plugin
$sn = Status_network::staticGet('nickname', $nickname);
} catch (Exception $e) {
$this->log(LOG_ERR, $e->getMessage());
return;
}
$tags = $sn->getTags();