mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-26 02:03:37 +01:00
Improve debug log message to include more relevant information
This commit is contained in:
parent
40caf8dac7
commit
3f1d5c9cd0
@ -260,7 +260,7 @@ func deletePresavedEntries(ctx context.Context, entry *data.HistoryEntry, isRetr
|
||||
// this function after a short delay. If it still is empty, then we assume we are in case #1.
|
||||
if isRetry {
|
||||
// Already retried, assume we're in case #1
|
||||
hctx.GetLogger().Infof("failed to find presaved entry even with retry, skipping delete")
|
||||
hctx.GetLogger().Infof("failed to find presaved entry matching cmd=%#v even with retry, skipping delete", entry.Command)
|
||||
return nil
|
||||
} else {
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
Loading…
Reference in New Issue
Block a user