kylefarris / clamscan

A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
236 stars 69 forks source link

Consider returning stdout and stderr in the error object data property #79

Closed Shintu-J-Thattakunnil closed 7 months ago

Shintu-J-Thattakunnil commented 3 years ago

Right now within the is_infected method if the clam scan fails there is no way to know the exact error from the daemon

kylefarris commented 3 years ago

I'll take a look.

Shintu-J-Thattakunnil commented 3 years ago

Thank you. Please let me know if you need more info.

kylefarris commented 7 months ago

This was fixed some time back. You can now access the original response from the daemon via resultString.