Make error page nice

This stops the error page from being a blank white screen, and also logs qiita_pet errors to our qiita logger for later handling.