Look for errors, and log before dying

Signed-off-by: Cruz Julian Bishop <cruz@techern.com>