]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
issue #93
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 30 Dec 2015 17:03:45 +0000 (18:03 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 30 Dec 2015 17:03:45 +0000 (18:03 +0100)
plugins/TwitterBridge/lib/twitterimport.php

index f99120a929255f2276f65492148889b91ac53fa2..a7cac7fd0d0bdd5d951a51b94f2714bf808079f1 100644 (file)
@@ -566,8 +566,10 @@ class TwitterImport
                 $reply->modified   = $notice->created;
                 common_log(LOG_INFO, __METHOD__ . ": saving reply: notice {$notice->id} to profile {$user->id}");
                 $id = $reply->insert();
+            } catch (NoSuchUserException $e) {
+                common_log(LOG_WARNING, 'No local user found for Foreign_link with id: '.$mention->id);
             } catch (NoResultException $e) {
-                common_log(LOG_WARNING, 'No local user found for Foreign_link with local User id: '.$flink->user_id);
+                common_log(LOG_WARNING, 'No foreign link or profile found for Foreign_link with id: '.$mention->id);
             }
         }
     }