@@ -242,8 +242,8 @@ void main() {
242
242
243
243
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
244
244
expect (breadcrumb.data? ['status' ], 'internal_error' );
245
- expect (breadcrumb.type, 'error ' );
246
- expect (breadcrumb.level, SentryLevel .error );
245
+ expect (breadcrumb.type, 'query ' );
246
+ expect (breadcrumb.level, SentryLevel .warning );
247
247
});
248
248
249
249
test ('transaction sets span to internal error' , () async {
@@ -281,8 +281,8 @@ void main() {
281
281
282
282
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
283
283
expect (breadcrumb.data? ['status' ], 'internal_error' );
284
- expect (breadcrumb.type, 'error ' );
285
- expect (breadcrumb.level, SentryLevel .error );
284
+ expect (breadcrumb.type, 'query ' );
285
+ expect (breadcrumb.level, SentryLevel .warning );
286
286
});
287
287
});
288
288
@@ -1007,8 +1007,8 @@ void main() {
1007
1007
1008
1008
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1009
1009
expect (breadcrumb.data? ['status' ], 'internal_error' );
1010
- expect (breadcrumb.type, 'error ' );
1011
- expect (breadcrumb.level, SentryLevel .error );
1010
+ expect (breadcrumb.type, 'query ' );
1011
+ expect (breadcrumb.level, SentryLevel .warning );
1012
1012
});
1013
1013
1014
1014
test ('execute sets breadcrumb to internal error' , () async {
@@ -1023,8 +1023,8 @@ void main() {
1023
1023
1024
1024
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1025
1025
expect (breadcrumb.data? ['status' ], 'internal_error' );
1026
- expect (breadcrumb.type, 'error ' );
1027
- expect (breadcrumb.level, SentryLevel .error );
1026
+ expect (breadcrumb.type, 'query ' );
1027
+ expect (breadcrumb.level, SentryLevel .warning );
1028
1028
});
1029
1029
1030
1030
test ('insert sets breadcrumb to internal error' , () async {
@@ -1040,8 +1040,8 @@ void main() {
1040
1040
1041
1041
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1042
1042
expect (breadcrumb.data? ['status' ], 'internal_error' );
1043
- expect (breadcrumb.type, 'error ' );
1044
- expect (breadcrumb.level, SentryLevel .error );
1043
+ expect (breadcrumb.type, 'query ' );
1044
+ expect (breadcrumb.level, SentryLevel .warning );
1045
1045
});
1046
1046
1047
1047
test ('query sets breadcrumb to internal error' , () async {
@@ -1056,8 +1056,8 @@ void main() {
1056
1056
1057
1057
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1058
1058
expect (breadcrumb.data? ['status' ], 'internal_error' );
1059
- expect (breadcrumb.type, 'error ' );
1060
- expect (breadcrumb.level, SentryLevel .error );
1059
+ expect (breadcrumb.type, 'query ' );
1060
+ expect (breadcrumb.level, SentryLevel .warning );
1061
1061
});
1062
1062
1063
1063
test ('query cursor sets breadcrumb to internal error' , () async {
@@ -1072,8 +1072,8 @@ void main() {
1072
1072
1073
1073
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1074
1074
expect (breadcrumb.data? ['status' ], 'internal_error' );
1075
- expect (breadcrumb.type, 'error ' );
1076
- expect (breadcrumb.level, SentryLevel .error );
1075
+ expect (breadcrumb.type, 'query ' );
1076
+ expect (breadcrumb.level, SentryLevel .warning );
1077
1077
});
1078
1078
1079
1079
test ('raw delete sets breadcrumb to internal error' , () async {
@@ -1088,8 +1088,8 @@ void main() {
1088
1088
1089
1089
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1090
1090
expect (breadcrumb.data? ['status' ], 'internal_error' );
1091
- expect (breadcrumb.type, 'error ' );
1092
- expect (breadcrumb.level, SentryLevel .error );
1091
+ expect (breadcrumb.type, 'query ' );
1092
+ expect (breadcrumb.level, SentryLevel .warning );
1093
1093
});
1094
1094
1095
1095
test ('raw insert sets breadcrumb to internal error' , () async {
@@ -1104,8 +1104,8 @@ void main() {
1104
1104
1105
1105
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1106
1106
expect (breadcrumb.data? ['status' ], 'internal_error' );
1107
- expect (breadcrumb.type, 'error ' );
1108
- expect (breadcrumb.level, SentryLevel .error );
1107
+ expect (breadcrumb.type, 'query ' );
1108
+ expect (breadcrumb.level, SentryLevel .warning );
1109
1109
});
1110
1110
1111
1111
test ('raw query sets breadcrumb to internal error' , () async {
@@ -1120,8 +1120,8 @@ void main() {
1120
1120
1121
1121
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1122
1122
expect (breadcrumb.data? ['status' ], 'internal_error' );
1123
- expect (breadcrumb.type, 'error ' );
1124
- expect (breadcrumb.level, SentryLevel .error );
1123
+ expect (breadcrumb.type, 'query ' );
1124
+ expect (breadcrumb.level, SentryLevel .warning );
1125
1125
});
1126
1126
1127
1127
test ('raw query cursor sets breadcrumb to internal error' , () async {
@@ -1137,8 +1137,8 @@ void main() {
1137
1137
1138
1138
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1139
1139
expect (breadcrumb.data? ['status' ], 'internal_error' );
1140
- expect (breadcrumb.type, 'error ' );
1141
- expect (breadcrumb.level, SentryLevel .error );
1140
+ expect (breadcrumb.type, 'query ' );
1141
+ expect (breadcrumb.level, SentryLevel .warning );
1142
1142
});
1143
1143
1144
1144
test ('raw update sets breadcrumb to internal error' , () async {
@@ -1153,8 +1153,8 @@ void main() {
1153
1153
1154
1154
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1155
1155
expect (breadcrumb.data? ['status' ], 'internal_error' );
1156
- expect (breadcrumb.type, 'error ' );
1157
- expect (breadcrumb.level, SentryLevel .error );
1156
+ expect (breadcrumb.type, 'query ' );
1157
+ expect (breadcrumb.level, SentryLevel .warning );
1158
1158
});
1159
1159
1160
1160
test ('update sets breadcrumb to internal error' , () async {
@@ -1170,8 +1170,8 @@ void main() {
1170
1170
1171
1171
final breadcrumb = fixture.hub.scope.breadcrumbs.first;
1172
1172
expect (breadcrumb.data? ['status' ], 'internal_error' );
1173
- expect (breadcrumb.type, 'error ' );
1174
- expect (breadcrumb.level, SentryLevel .error );
1173
+ expect (breadcrumb.type, 'query ' );
1174
+ expect (breadcrumb.level, SentryLevel .warning );
1175
1175
});
1176
1176
});
1177
1177
}
0 commit comments