Skip to content

Commit

Permalink
cmd/vinegar: rpc erorr message
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Oct 15, 2023
1 parent 3369404 commit 7f364c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/vinegar/binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ func (b *Binary) Run(args ...string) error {
}

go func() {
time.Sleep(6 * time.Second)
if err := b.LogFile(&then); err != nil {
log.Printf("epic fail: %s", err)
time.Sleep(8 * time.Second)
if err := b.HandleRobloxLog(&then); err != nil {
log.Printf("Failed to handle Discord RPC: %s", err)
}
}()
}
Expand All @@ -125,7 +125,7 @@ func (b *Binary) Run(args ...string) error {
return nil
}

func (b *Binary) LogFile(comparison *time.Time) error {
func (b *Binary) HandleRobloxLog(comparison *time.Time) error {
appData, err := b.Prefix.AppDataDir()
if err != nil {
return err
Expand Down

0 comments on commit 7f364c6

Please sign in to comment.