From: Mikael Nordfeldth Date: Wed, 30 Dec 2015 17:03:45 +0000 (+0100) Subject: issue #93 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bceece3bb9c55eba48e026c733ee5bfc480fdb3d;p=quix0rs-gnu-social.git issue #93 --- 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); } } }