FIX: do not raise exception if the file is missing

FIX: do not raise exception if the file is missing

diff --git a/app/jobs/regular/bulk_invite.rb b/app/jobs/regular/bulk_invite.rb
index fae3916..edf5bf1 100644
--- a/app/jobs/regular/bulk_invite.rb
+++ b/app/jobs/regular/bulk_invite.rb
@@ -48,7 +48,7 @@ module Jobs
       save_log "Bulk Invite Process Failed -- '#{e.message}'"
       @failed += 1
     ensure
-      file.close
+      file&.close
     end
 
     def get_group_ids(group_names, csv_line_number)

GitHub sha: f87b35e6