From ec873922e3af7efd1aa6d26ea19c90999f9961b3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 13 Jan 2010 20:11:00 -0800 Subject: [PATCH] Gracefully skip missing user entries when initializing inboxes in bulk --- scripts/initializeinbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/initializeinbox.php b/scripts/initializeinbox.php index bc31cba153..5ae9f7d036 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); } -- 2.39.5