base: Add better error logging.
base: Add better error logging.

Change-Id: Id66738511b08f69fad8e4310a0bc67be7214fdd0

kernelci/kernelci-backend,joyxu/kernelci-backend,joyxu/kernelci-backend,joyxu/kernelci-backend,kernelci/kernelci-backend