Use appygram error handler

See #12