projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a1c8a
)
More explicit catch
author
Mikael Nordfeldth
<mmn@hethane.se>
Mon, 4 Jan 2016 00:53:33 +0000
(
01:53
+0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Mon, 4 Jan 2016 00:53:33 +0000
(
01:53
+0100)
lib/activityutils.php
patch
|
blob
|
history
diff --git
a/lib/activityutils.php
b/lib/activityutils.php
index ef2e23224374b6a9ddd9629ef366e7f19ed0bdb7..da543b2069d5c9783f06bdae8e28c75ca4df6d17 100644
(file)
--- a/
lib/activityutils.php
+++ b/
lib/activityutils.php
@@
-397,8
+397,8
@@
class ActivityUtils
// the exception thrown will cancel before reaching $object
$object = call_user_func(array($object, 'fromUri'), $uri);
break;
- } catch (Exception $e) {
- common_debug('Could not find local activity object from uri: '.$uri);
+ } catch (
UnknownUri
Exception $e) {
+ common_debug('Could not find local activity object from uri: '.$
e->object_
uri);
}
}
if (!empty($object)) {