Scan: Improved logging of RPC errors

[Issue #455]