mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
ssh/tailssh: log when recording starts and finishes (#9294)
Updates tailscale/corp#14579 Signed-off-by: Joe Tsai <joetsai@digital-static.net>
This commit is contained in:
parent
a1d4144b18
commit
0a0adb68ad
@ -1088,6 +1088,7 @@ func (ss *sshSession) run() {
|
||||
ss.Exit(1)
|
||||
return
|
||||
}
|
||||
ss.logf("startNewRecording: <nil>")
|
||||
if rec != nil {
|
||||
defer rec.Close()
|
||||
}
|
||||
@ -1658,6 +1659,7 @@ func (ss *sshSession) startNewRecording() (_ *recording, err error) {
|
||||
err := <-errChan
|
||||
if err == nil {
|
||||
// Success.
|
||||
ss.logf("recording: finished uploading recording")
|
||||
return
|
||||
}
|
||||
if onFailure != nil && onFailure.NotifyURL != "" && len(attempts) > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user