You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a System.Linq.Dynamic.Core.Exceptions.ParseException was thrown, It's hard to locate where cause this exception when I using NLog with layout renderer ${exception}. I'm only can find a line No applicable aggregate method 'Cast(Object)' exists (at index 3) in my log file, but no stack trace, this makes me confused, I know this message means but I don't know where the exception thrown. It takes me a lot of time to find out where goes wrong.
Exception message: No applicable aggregate method 'Cast(Object)' exists (at index 3)
Stack trace: NA
I've read System.Linq.Dynamic.Core.Exceptions.ParseException source code and found that ToString() method simply return one line message. Can we change this like the other exceptions do? Thanks :)
The text was updated successfully, but these errors were encountered:
StefH
changed the title
System.Linq.Dynamic.Core.Exceptions.ParseException ToString() does not contains stack trace
System.Linq.Dynamic.Core.Exceptions.ParseException ToString() does not contain stack trace
Jun 14, 2023
StefH
changed the title
System.Linq.Dynamic.Core.Exceptions.ParseException ToString() does not contain stack trace
ParseException ToString() does not contain stack trace
Jun 14, 2023
1. Description
When a System.Linq.Dynamic.Core.Exceptions.ParseException was thrown, It's hard to locate where cause this exception when I using NLog with layout renderer ${exception}. I'm only can find a line
No applicable aggregate method 'Cast(Object)' exists (at index 3)
in my log file, but no stack trace, this makes me confused, I know this message means but I don't know where the exception thrown. It takes me a lot of time to find out where goes wrong.2. Exception
System.Linq.Dynamic.Core.Exceptions.ParseException
I've read
System.Linq.Dynamic.Core.Exceptions.ParseException
source code and found thatToString()
method simply return one line message. Can we change this like the other exceptions do? Thanks :)The text was updated successfully, but these errors were encountered: