FIX: do not raise exception if the file is missing

This commit is contained in:
Arpit Jalan 2019-04-04 15:36:51 +05:30
parent 63fcd445f4
commit f87b35e6f4
1 changed files with 1 additions and 1 deletions

View File

@ -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)