Commit 10a19838 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

VirusScannerListener: précise le nom du virus trouvé dans l'exception.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -57,7 +57,7 @@ class VirusScannerListener
$file->setMetadata($meta);
if($result->hasVirus()) {
throw new RejectedFileException($file, "Found a virus !");
throw new RejectedFileException($file, $desc ? sprintf("Found the %s virus !", $desc) : 'Virus found !');
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment