Skip to content

Commit

Permalink
Fix serilog-contrib#232 Pass flag formatStackTraceAsArray to base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Mora committed Apr 9, 2019
1 parent 9e5da04 commit 4cf1486
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ExceptionAsObjectJsonFormatter(bool omitEnclosingObject = false,
IElasticsearchSerializer serializer = null,
bool inlineFields = false,
bool formatStackTraceAsArray = false)
: base(omitEnclosingObject, closingDelimiter, renderMessage, formatProvider, serializer, inlineFields, formatStackTraceAsArray)
: base(omitEnclosingObject, closingDelimiter, renderMessage, formatProvider, serializer, inlineFields, true, formatStackTraceAsArray)
{
}

Expand Down

0 comments on commit 4cf1486

Please sign in to comment.