Skip to content

Commit

Permalink
Add WebLogOnErrorEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowOrWhite committed Nov 5, 2015
1 parent 6900dcd commit fd6d7dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web.go
Expand Up @@ -64,7 +64,7 @@ func (w *Web) LogOn() {
}
}
if err != nil {
w.client.Errorf("Web: Error logging on: %v", err)
w.client.Emit(WebLogonErrorEvent(err))
return
}
}()
Expand Down
2 changes: 2 additions & 0 deletions web_events.go
Expand Up @@ -2,4 +2,6 @@ package steam

type WebLoggedOnEvent struct{}

type WebLogOnErrorEvent error

type WebSessionIdEvent struct{}

0 comments on commit fd6d7dc

Please sign in to comment.