It can't hurt to provide more information in log messages, especially 'res' is a good candidate in this case.