generic_scanner now reports the cmd on an error