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.
Hmm ok, I don't think I was part of the logging conversation, sorry for
missing it. Just curious when the other error types would be raised.
On Nov 11, 2014 8:21 PM, "Joshua Shorenstein" <notifications@github.com>
wrote:

> In qiita_pet/handlers/base_handlers.py:
>
> >                                     (k, self.request.__dict__[k]) for k in
> >                                      self.request.__dict__.keys()])
> >              error = exc_info[1]
> > -
> > -            self.render('error.html', error=error, trace_info=trace_info,
> > -                        request_info=request_info,
> > -                        user=self.current_user)
> > +            LogEntry.create(
> > +                'Runtime',
>
> I suppose, but the current three tiers are what we agreed on when writing
> the logger function.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/qiita/pull/588/files#r20199403>.
>