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 @@ -3901,7 +3901,10 @@ static void test_error_to_event(void) {
3901
3901
"\"nr.transactionGuid\":\"abcd\","
3902
3902
"\"guid\":\"abcd\""
3903
3903
"},"
3904
- "{\"user_long\":1},"
3904
+ "{"
3905
+ "\"user_long\":1,"
3906
+ "\"user.error.message\":\"the_msg\""
3907
+ "},"
3905
3908
"{\"agent_long\":2}"
3906
3909
"]" ,
3907
3910
nr_analytics_event_json (event ));
@@ -3930,7 +3933,10 @@ static void test_error_to_event(void) {
3930
3933
"\"nr.transactionGuid\":\"abcd\","
3931
3934
"\"guid\":\"abcd\""
3932
3935
"},"
3933
- "{\"user_long\":1},"
3936
+ "{"
3937
+ "\"user_long\":1,"
3938
+ "\"user.error.message\":\"the_msg\""
3939
+ "},"
3934
3940
"{\"agent_long\":2}"
3935
3941
"]" );
3936
3942
nr_analytics_event_destroy (& event );
@@ -3959,7 +3965,10 @@ static void test_error_to_event(void) {
3959
3965
"\"nr.syntheticsJobId\":\"b\","
3960
3966
"\"nr.syntheticsMonitorId\":\"c\""
3961
3967
"},"
3962
- "{\"user_long\":1},"
3968
+ "{"
3969
+ "\"user_long\":1,"
3970
+ "\"user.error.message\":\"the_msg\""
3971
+ "},"
3963
3972
"{\"agent_long\":2}"
3964
3973
"]" );
3965
3974
nr_analytics_event_destroy (& event );
You can’t perform that action at this time.
0 commit comments