File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -673,7 +673,9 @@ static void test_encode_error_events(void) {
673
673
"\"nr.transactionGuid\":\"abcd\","
674
674
"\"guid\":\"abcd\""
675
675
"},"
676
- "{},"
676
+ "{"
677
+ "\"user.error.message\":\"msg\""
678
+ "},"
677
679
"{}"
678
680
"]" ),
679
681
nr_flatbuffers_table_read_bytes (& tbl , EVENT_FIELD_DATA ),
Original file line number Diff line number Diff line change @@ -3902,7 +3902,10 @@ static void test_error_to_event(void) {
3902
3902
"\"nr.transactionGuid\":\"abcd\","
3903
3903
"\"guid\":\"abcd\""
3904
3904
"},"
3905
- "{\"user_long\":1},"
3905
+ "{"
3906
+ "\"user_long\":1,"
3907
+ "\"user.error.message\":\"the_msg\""
3908
+ "},"
3906
3909
"{\"agent_long\":2}"
3907
3910
"]" ,
3908
3911
nr_analytics_event_json (event ));
@@ -3931,7 +3934,10 @@ static void test_error_to_event(void) {
3931
3934
"\"nr.transactionGuid\":\"abcd\","
3932
3935
"\"guid\":\"abcd\""
3933
3936
"},"
3934
- "{\"user_long\":1},"
3937
+ "{"
3938
+ "\"user_long\":1,"
3939
+ "\"user.error.message\":\"the_msg\""
3940
+ "},"
3935
3941
"{\"agent_long\":2}"
3936
3942
"]" );
3937
3943
nr_analytics_event_destroy (& event );
@@ -3960,7 +3966,10 @@ static void test_error_to_event(void) {
3960
3966
"\"nr.syntheticsJobId\":\"b\","
3961
3967
"\"nr.syntheticsMonitorId\":\"c\""
3962
3968
"},"
3963
- "{\"user_long\":1},"
3969
+ "{"
3970
+ "\"user_long\":1,"
3971
+ "\"user.error.message\":\"the_msg\""
3972
+ "},"
3964
3973
"{\"agent_long\":2}"
3965
3974
"]" );
3966
3975
nr_analytics_event_destroy (& event );
You can’t perform that action at this time.
0 commit comments