Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 666b2b7

Browse files
committed
Add timestamp in error log
1 parent c17a62b commit 666b2b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ServiceStack.Redis/RedisNativeClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,8 +1596,8 @@ private static List<Dictionary<string, string>> ToDictionaryList(object[] result
15961596
if (bytes != null)
15971597
value = bytes.FromUtf8Bytes();
15981598

1599-
log.ErrorFormat("Expected object[] received {0}: {1}",
1600-
result.GetType().Name, value);
1599+
log.ErrorFormat("[{0}] Expected object[] received {1}: {2}",
1600+
DateTime.UtcNow.ToString("HH:mm:ss.fff"), result.GetType().Name, value);
16011601

16021602
continue;
16031603
}

0 commit comments

Comments
 (0)