SimulPiscator / AirSane

Publish SANE scanners to MacOS, Android, and Windows via Apple AirScan.
GNU General Public License v3.0
247 stars 26 forks source link

Crawling unknown page should raise a log warning #70

Closed bastien-roucaries closed 3 years ago

bastien-roucaries commented 3 years ago

You should get something on stderr if something try to load non existant page. It will defect simple network scanner and raise some warning using log analyser. Use an exception Error404 or so on to do this (see next bug report for why)

At least here https://github.com/SimulPiscator/AirSane/blob/335e832047d718fd119f19b8078904ac93eba08b/server/mainpage.cpp#L69

SimulPiscator commented 3 years ago

I added some code to do this.