changes to error handling

readme, changelog updated to reflect changes

version bump
This commit is contained in:
onyx-and-iris
2022-09-07 20:59:55 +01:00
parent 505b5969a2
commit 6ed4e38dae
9 changed files with 158 additions and 82 deletions

View File

@@ -43,9 +43,12 @@ func main() {
if err != nil {
log.Fatal(err)
}
defer vm.Logout()
vm.Login()
err = vm.Login()
if err != nil {
log.Fatal(err)
}
defer vm.Logout()
obs, err := goobs.New("localhost:4455", goobs.WithPassword("mystrongpass"))
if err != nil {