refactor(write-changelog): add error catch to cb