Include stack trace when unexpected exception thrown displaying MongoQuery

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 2.15.0
    • Affects Version/s: 2.14.1
    • Component/s: LINQ3
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      If an exception is thrown calling MongoQuery.ToString(), only the error message is displayed, not the stack trace. If the exception is expected - like ExpressionNotSupportedException - then only displaying the message is the correct behaviour. But if some unexpected problem occurs - such as not being able to resolve the correct serializer - a full stack trace would be helpful in diagnosing the issue.

              Assignee:
              James Kovacs
              Reporter:
              James Kovacs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: