@@ -242,8 +242,8 @@ void main() {
242242
243243 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
244244 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 );
247247 });
248248
249249 test ('transaction sets span to internal error' , () async {
@@ -281,8 +281,8 @@ void main() {
281281
282282 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
283283 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 );
286286 });
287287 });
288288
@@ -1007,8 +1007,8 @@ void main() {
10071007
10081008 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
10091009 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 );
10121012 });
10131013
10141014 test ('execute sets breadcrumb to internal error' , () async {
@@ -1023,8 +1023,8 @@ void main() {
10231023
10241024 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
10251025 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 );
10281028 });
10291029
10301030 test ('insert sets breadcrumb to internal error' , () async {
@@ -1040,8 +1040,8 @@ void main() {
10401040
10411041 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
10421042 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 );
10451045 });
10461046
10471047 test ('query sets breadcrumb to internal error' , () async {
@@ -1056,8 +1056,8 @@ void main() {
10561056
10571057 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
10581058 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 );
10611061 });
10621062
10631063 test ('query cursor sets breadcrumb to internal error' , () async {
@@ -1072,8 +1072,8 @@ void main() {
10721072
10731073 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
10741074 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 );
10771077 });
10781078
10791079 test ('raw delete sets breadcrumb to internal error' , () async {
@@ -1088,8 +1088,8 @@ void main() {
10881088
10891089 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
10901090 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 );
10931093 });
10941094
10951095 test ('raw insert sets breadcrumb to internal error' , () async {
@@ -1104,8 +1104,8 @@ void main() {
11041104
11051105 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
11061106 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 );
11091109 });
11101110
11111111 test ('raw query sets breadcrumb to internal error' , () async {
@@ -1120,8 +1120,8 @@ void main() {
11201120
11211121 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
11221122 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 );
11251125 });
11261126
11271127 test ('raw query cursor sets breadcrumb to internal error' , () async {
@@ -1137,8 +1137,8 @@ void main() {
11371137
11381138 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
11391139 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 );
11421142 });
11431143
11441144 test ('raw update sets breadcrumb to internal error' , () async {
@@ -1153,8 +1153,8 @@ void main() {
11531153
11541154 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
11551155 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 );
11581158 });
11591159
11601160 test ('update sets breadcrumb to internal error' , () async {
@@ -1170,8 +1170,8 @@ void main() {
11701170
11711171 final breadcrumb = fixture.hub.scope.breadcrumbs.first;
11721172 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 );
11751175 });
11761176 });
11771177}
0 commit comments