Add error handling.
Add travis badge