Added better errors gems for easier debugging.
First commit from debian VM test to see if functioning correctly.