mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-18 11:31:06 +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.
|
// this function after a short delay. If it still is empty, then we assume we are in case #1.
|
||||||
if isRetry {
|
if isRetry {
|
||||||
// Already retried, assume we're in case #1
|
// 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
|
return nil
|
||||||
} else {
|
} else {
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(500 * time.Millisecond)
|
||||||
|
Loading…
Reference in New Issue
Block a user