NickCraver / StackExchange.Exceptional

Error handler used for the Stack Exchange network
https://nickcraver.com/StackExchange.Exceptional/
Apache License 2.0
858 stars 170 forks source link

Exceptions: Copy from memory to store X on startup #189

Closed NickCraver closed 3 years ago

NickCraver commented 3 years ago

One common error pattern we've seen is that exceptions logged to the default store (e.g. due to a startup ordering issue), should be logged to the destination store in every case we can think of.

When an error happens and gets added to the memory store, then we configure say a SQL store later...let's move the exceptions on a store swap if possible. /cc @deanward81

NickCraver commented 3 years ago

This is solved by aaa3642194ef099aaee2d20b94eb98bad001a74a