--- comms.module.orig	2009-09-01 12:45:36.000000000 -0400
+++ comms.module	2009-09-01 12:25:26.000000000 -0400
@@ -1886,8 +1886,10 @@ function comms_group_form_validate($node
     return;
   }
 
-  $twitter = _comms_twitterAPI_load(
-    $node->comms_twitter_username, $node->comms_twitter_password);
+  if (!$twitter = _comms_twitterAPI_load($node->comms_twitter_username, $node->comms_twitter_password)) {
+  	form_set_error('comms_twitter_username',t('comms_twitterAPI_load failed, is twitterAPI installed?'));
+  	return;
+  }
 
   $response = '';
   try {
