]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fail quickly if we can't find a for DomainStatusNetwork
authorEvan Prodromou <evan@status.net>
Thu, 19 May 2011 19:30:38 +0000 (15:30 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 19 May 2011 19:30:38 +0000 (15:30 -0400)
plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php

index e79a445f2071ddb0bbb40653b3c4d8d555cb94a8..9390a6e08353b3cdf441af4d9a3a5092251cbde2 100644 (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();