put some debug puts in rescue blocks

Signed-off-by: Chris Boertien <chris.boertien@gmail.com>