From bceece3bb9c55eba48e026c733ee5bfc480fdb3d Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 30 Dec 2015 18:03:45 +0100 Subject: [PATCH] issue #93 --- plugins/TwitterBridge/lib/twitterimport.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/TwitterBridge/lib/twitterimport.php b/plugins/TwitterBridge/lib/twitterimport.php index f99120a929..a7cac7fd0d 100644 --- a/plugins/TwitterBridge/lib/twitterimport.php +++ b/plugins/TwitterBridge/lib/twitterimport.php @@ -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); } } }