summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-13 20:11:00 -0800
committerBrion Vibber <brion@pobox.com>2010-01-13 20:11:00 -0800
commitec873922e3af7efd1aa6d26ea19c90999f9961b3 (patch)
treee8da5aab7aa8fbd52e39ca5f805d21f5451080d4
parentf827242bce51a2b35e2cbac7db19bc81542c9d0b (diff)
Gracefully skip missing user entries when initializing inboxes in bulk
-rw-r--r--scripts/initializeinbox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php
index bc31cba15..5ae9f7d03 100644
--- a/scripts/initializeinbox.php
+++ b/scripts/initializeinbox.php
@@ -72,7 +72,7 @@ try {
foreach ($ids as $id) {
$user = User::staticGet('id', $id);
if (empty($user)) {
- throw new Exception("Can't find user with id '$id'.");
+ print "Can't find user with id '$id'.\n";
}
initializeInbox($user);
}