git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 58717fa6 authored by mmn's avatar mmn

Forgot to catch no-parent-exception

Unfortunately not a specific Exception right now, but we're getting to that.
parent f75ddaa8
......@@ -705,6 +705,8 @@ function common_find_mentions($text, $notice)
common_log(LOG_WARNING, sprintf('Notice %d author profile id %d does not exist', $origNotice->id, $origNotice->profile_id));
} catch (ServerException $e) {
common_log(LOG_WARNING, __METHOD__ . ' got exception: ' . $e->getMessage());
} catch (Exception $e) {
// Probably just no parent. Should get a specific NoParentException
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment