Add exception handling to the README