View Exception Details
Section titled “View Exception Details”Nodinite v7 includes a specialized exception viewer that displays .NET exception chains directly in Log Views. When developers log exceptions from .NET applications, Azure Functions, or frameworks like Serilog, the exception viewer automatically parses and formats the exception data for faster troubleshooting.
What you'll learn on this page:
✅ View exception chains - See the complete failure path from root cause to final error
✅ Navigate stack traces - Inspect formatted stack traces with preserved line breaks
✅ Drill into inner exceptions - Understand nested exception relationships
✅ Extract exception data - Use formulas to create searchable fields from exception properties

Animated walkthrough: in a Log View, search for order ORD-10044, click Show Details, open Context Values, and open the exception and its Inner Exception. Each level shows its Message, Class Name, Source, and Stack Trace; the root cause, a SocketException, is one level deeper.
How the Exception Viewer Works
Section titled “How the Exception Viewer Works”The exception viewer parses .NET exception JSON structures and presents them in an organized, readable format. This eliminates the need to manually parse JSON or decode base64-encoded payloads.
Diagram showing how exception data flows from application to the Nodinite exception viewer.
What the Exception Viewer Shows
Section titled “What the Exception Viewer Shows”When you open a Log Event with exception data in Nodinite v7 Log Views, click Show Details and open the Context Values tab. The ExtendedProperties/1.0#Exception row shows the exception viewer:
- Exception chain visualization - The outer exception is a card titled ClassName: Message. Each inner exception is a card of its own, nested to any depth
- Known fields first - Opened, a card lists Message, Inner Exception, Class Name, Source, and Stack Trace (and Exception Method, Line Number, Data, and Errors when present), with display names
- Other fields - Everything else, such as HResult and error codes, is under Other fields
- Stack trace formatting - Line breaks and indentation preserved for readability
- Copy and raw view - Each value has a copy button, and View Raw Exception shows the JSON, indented. The < next to the key widens the exception over the full table
- Contextual information - Order IDs, retry attempts, and environment details from Context properties

The exception viewer in an event's Context Values: the outer exception and its inner SqlException opened, the SocketException below them still closed.
Typical Exception Scenario
Section titled “Typical Exception Scenario”A common scenario: An Azure Function attempts to process an order, encounters a database connection timeout, which is caused by a DNS resolution failure.
Exception chain displayed in the viewer:
- InvalidOperationException (outermost) - "Failed to process order ORD-12345 after 3 retry attempts"
- SqlException (middle) - "Network-related error connecting to SQL Server"
- SocketException (innermost/root cause) - "No such host is known (sql-prod-east.database.windows.net)"
The exception viewer shows all three levels, allowing you to quickly identify that the root cause is a DNS resolution failure, not a database or application logic error.
Exception Properties
Section titled “Exception Properties”Each exception level in the chain shows these fields. The viewer uses display names; the JSON keys, which you use in formulas, are in the second column:
| Viewer label | JSON key | Description | Example |
|---|---|---|---|
| Message | Message |
Human-readable error description | "A network-related or instance-specific error occurred..." |
| Inner Exception | InnerException |
Nested exception (closer to the root cause) | SocketException details |
| Class Name | ClassName |
.NET exception type | System.Data.SqlClient.SqlException |
| Source | Source |
Component that threw the exception | "Core .Net SqlClient Data Provider" |
| Stack Trace | StackTraceString |
Call stack showing code path | File names, method names, line numbers |
| Under Other fields | HResult |
Win32/COM error code | -2146232060 |
Additional properties may appear under Other fields, depending on exception type:
- SqlException:
Number,State,Class,Server,ErrorCode - SocketException:
NativeErrorCode - WebException:
Status,Response
Using Exception Data in Search Fields
Section titled “Using Exception Data in Search Fields”You can create Search Fields with formula extraction to make exception properties searchable. This enables filtering and reporting on specific exception types or error codes.
Formula Examples
Section titled “Formula Examples”The .. in these paths searches every level of the chain, so a formula returns one value per level that has the field.
Extract the exception messages (every level: three values for a three-level chain):
JsonPath('..Message', Context('ExtendedProperties/1.0#Exception'))Extract the exception class names (every level):
JsonPath('..ClassName', Context('ExtendedProperties/1.0#Exception'))Extract the SQL error code (from the SqlException in the chain, for example -2146232060; nothing for a chain without one):
JsonPath('..ErrorCode', Context('ExtendedProperties/1.0#Exception'))Extract the root cause (the message of the exception that has no inner exception, at any depth):
JsonPath('$..[?(@.InnerException == null)].Message', Context('ExtendedProperties/1.0#Exception'))Function names are not case-sensitive: JsonPath, jsonPath, and jsonpath all work.
Serilog Integration
Section titled “Serilog Integration”When .NET applications use Serilog with Nodinite sinks, exceptions are automatically captured when you call .Error(exception, message). The exception object is serialized to JSON and stored in Context["ExtendedProperties/1.0#Exception"].
Example Serilog code:
try{ await ProcessOrderAsync(orderId);}catch (Exception ex){ _logger.Error(ex, "Failed to process order {OrderId}", orderId); // Exception is automatically sent to Nodinite with full chain and stack trace}The Nodinite exception viewer automatically detects this format and displays the exception chain, stack traces, and all properties.
- Learn more: See Serilog .NET Exceptions for configuration details and best practices.
Best Practices for Error Analysis
Section titled “Best Practices for Error Analysis”For Business Users
Section titled “For Business Users”- Focus on the outermost exception message - This typically contains the business-friendly error description
- Check Context properties - Look for Order IDs, Transaction IDs, or other business data in the Context section
- Note the timestamp - Correlate with business events or system maintenance windows
- Add comments - Document investigation findings using the Comments feature
For Developers
Section titled “For Developers”- Start with the innermost exception - This is usually the root cause
- Inspect stack traces - Look for line numbers and file names to pinpoint code locations
- Check HResult and error codes - These identify specific Win32 or COM errors
- Compare exception chains - Look for patterns across multiple failed Log Events
- Extract exception data - Create custom Search Fields to track specific error types
For Operations Teams
Section titled “For Operations Teams”- Monitor exception trends - Use Search Fields to count exceptions by type over time
- Set up alerts - Create Monitor Views that trigger when specific exception types appear
- Document known issues - Add Comments with links to known issues or workarounds
- Track resolution time - Use timestamps and comments to measure time-to-resolution
Troubleshooting
Section titled “Troubleshooting”Exception Data Not Displaying
Section titled “Exception Data Not Displaying”If you don't see exception details in the exception viewer:
- Check Context properties - Look for
ExtendedProperties/1.0#Exceptionin the Context Values tab. The viewer reads only this property - Exception only in the Body - The viewer doesn't parse the message body. An exception logged only in the
Bodyshows with View message body, as plain text or JSON - Verify JSON format - Exception data must be valid JSON with .NET exception structure (ClassName, Message, StackTraceString)
- Check Serilog configuration - Ensure the Serilog sink is configured to capture exceptions (see Serilog)
Next Steps
Section titled “ Next Steps” Add Comments to Log Events - Document investigation findings directly on Log Event records
Create Custom Search Fields - Extract exception data for filtering and reporting
Related Topics
Section titled “ Related Topics”- Log Status and Errors
Log Views Overview - Learn about viewing and filtering Log Event records in Nodinite v7
Serilog Integration - Configure Serilog to capture .NET exceptions
Generate Exception Log Events - Create test exception data for demos
Context Options - Understand Context properties and custom metadata
Monitor Views - Set up alerts for specific exception types