mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-03-31 06:24:09 -04:00
fix: better err msg formatting
This commit is contained in:
@@ -103,6 +103,6 @@ func WakeDevice(device *core.Record) error {
|
||||
break
|
||||
}
|
||||
}
|
||||
return fmt.Errorf(device.GetString("name"), "not online after %d seconds", wakeTimeout)
|
||||
return fmt.Errorf("%s not online after %d seconds", device.GetString("name"), wakeTimeout)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user