Skip to content

Commit

Permalink
Azure wants ExceptionDetail.outerId to be an int
Browse files Browse the repository at this point in the history
Fixes #1201.
  • Loading branch information
mgedmin committed May 30, 2023
1 parent 3a2d8df commit ea40d8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def span_data_to_envelope(self, sd):
data = ExceptionData(
exceptions=[{
'id': 1,
'outerId': '{}'.format(sd.span_id),
'outerId': sd.span_id,
'typeName': sd.attributes.get(ERROR_NAME, ''),
'message': sd.attributes[ERROR_MESSAGE],
'hasFullStack': STACKTRACE in sd.attributes,
Expand Down

0 comments on commit ea40d8a

Please sign in to comment.