mirror of
https://github.com/neocities/neocities.git
synced 2025-06-20 11:20:43 +02:00
Fix clamav exception messages
This commit is contained in:
parent
0eba98bffd
commit
d91c196d69
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ class Site < Sequel::Model
|
||||||
begin
|
begin
|
||||||
output = line.run path: uploaded_file[:tempfile].path
|
output = line.run path: uploaded_file[:tempfile].path
|
||||||
rescue Terrapin::ExitStatusError => e
|
rescue Terrapin::ExitStatusError => e
|
||||||
puts "WARNING: CLAMAV FAILED #{username} #{uploaded_file[:tempfile].path} #{e.message}"
|
puts "WARNING: CLAMAV FAILED #{uploaded_file[:tempfile].path} #{e.message}"
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue