Add logs on failing rpc method