mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 05:25:57 +08:00
FIX: do not raise exception if the file is missing
This commit is contained in:
parent
63fcd445f4
commit
f87b35e6f4
@ -48,7 +48,7 @@ module Jobs
|
|||||||
save_log "Bulk Invite Process Failed -- '#{e.message}'"
|
save_log "Bulk Invite Process Failed -- '#{e.message}'"
|
||||||
@failed += 1
|
@failed += 1
|
||||||
ensure
|
ensure
|
||||||
file.close
|
file&.close
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_group_ids(group_names, csv_line_number)
|
def get_group_ids(group_names, csv_line_number)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user