Comments (9)
The exception is catched and the additional property is just not generated and appended...
from serilog.exceptions.
The problem are indexed properties which are not correctly handled:
Adding
.Where(x => x.CanRead && x.GetIndexParameters().Length == 0)
fixes this, but indexed properties are ignored...
from serilog.exceptions.
Created PR: #14
from serilog.exceptions.
also solves issue 12 I think.
from serilog.exceptions.
Unrelated to this very case, logging MUST NOT crash. Never. Seeing this just made me skip the whole project - I simply cannot affort my logging pipeline to crash with an exception and thus make me blind to potentially critical production issues (since I would have never observed them in dev/test). Whatever the framework does, everything should be in a try/catch block with a fallback...
Just my 0.02$
Philipp
from serilog.exceptions.
Awesome - I misinterpreted the post then. Thanks for the clarification!
from serilog.exceptions.
Apologies for not getting on top of this earlier. I was on holiday and later got distracted by life. I've now merged both PR's. Can you confirm everything works using the MyGet package and I'll arrange a release.
from serilog.exceptions.
I guess closing the issue means that all works well?
from serilog.exceptions.
I didnt test the myget package (feed url?) but I already use the PRs in production code and it works for me..
from serilog.exceptions.
Related Issues (20)
- [Docs] Destructurer via json HOT 3
- Add configuration example to readme HOT 1
- Separated Column or Porperty for exception stacktrace HOT 2
- Exception with redefined property(new modifier) stops enrichment altogether HOT 13
- Dependency Dashboard
- Not showing Exception stack trace in "Exception" field of the log HOT 13
- Add destructurer for Refit ApiException HOT 4
- Filtering out any property from a direct property of ExceptionDetails HOT 3
- Create Custom Destructurers for More Exceptions HOT 7
- mapper [NpgsqlValue] cannot be changed from type [date] to [ObjectMapper] HOT 3
- EF6 - protection against logging entire db. HOT 1
- Entity Framework Logging Behaviour HOT 2
- Exceptions with large properties HOT 3
- Same Key Added Exception in ExceptionPropertiesBag HOT 5
- [TaskCanceledExceptionDestructurer] Destructured object type inconsistent HOT 1
- Maximum destructuring depth reached. HOT 3
- Demystified exception stack trace support HOT 1
- Serilog.Exceptions.EntityFrameworkCore docs warning unclear HOT 1
- Request that Serilog.Exceptions.EntityFrameworkCore description also includes Serilog appsetting.json example HOT 1
- FOSSA Compliance tool license missing for v4.1.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serilog.exceptions.