mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 18:58:10 +00:00
FIX: sanitize bulk invite error log
This commit is contained in:
parent
b14ea0e751
commit
94683b33b8
@ -85,7 +85,7 @@ module Jobs
|
||||
begin
|
||||
Invite.invite_by_email(email, @current_user, topic, group_ids)
|
||||
rescue => e
|
||||
log "Error inviting '#{email}' -- #{e}"
|
||||
log "Error inviting '#{email}' -- #{Rails::Html::FullSanitizer.new.sanitize(e.message)}"
|
||||
@sent -= 1
|
||||
@failed += 1
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user