Add callback for errors, bump version