Skip to content

Commit bc249ce

Browse files
committed
use new error status ??
1 parent 553d256 commit bc249ce

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

packages/remix/test/integration/test/server/action.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
6161
assertSentryTransaction(transaction[2], {
6262
contexts: {
6363
trace: {
64-
status: 'internal_error',
64+
status: 'unknown_error',
6565
data: {
6666
'http.response.status_code': 500,
6767
},
@@ -169,7 +169,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
169169
contexts: {
170170
trace: {
171171
op: 'http.server',
172-
status: 'internal_error',
172+
status: 'unknown_error',
173173
data: {
174174
method: 'GET',
175175
'http.response.status_code': 500,
@@ -217,7 +217,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
217217
contexts: {
218218
trace: {
219219
op: 'http.server',
220-
status: 'internal_error',
220+
status: 'unknown_error',
221221
data: {
222222
method: 'POST',
223223
'http.response.status_code': 500,
@@ -265,7 +265,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
265265
contexts: {
266266
trace: {
267267
op: 'http.server',
268-
status: 'internal_error',
268+
status: 'unknown_error',
269269
data: {
270270
method: 'POST',
271271
'http.response.status_code': 500,
@@ -313,7 +313,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
313313
contexts: {
314314
trace: {
315315
op: 'http.server',
316-
status: 'internal_error',
316+
status: 'unknown_error',
317317
data: {
318318
method: 'POST',
319319
'http.response.status_code': 500,
@@ -361,7 +361,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
361361
contexts: {
362362
trace: {
363363
op: 'http.server',
364-
status: 'internal_error',
364+
status: 'unknown_error',
365365
data: {
366366
method: 'POST',
367367
'http.response.status_code': 500,
@@ -409,7 +409,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
409409
contexts: {
410410
trace: {
411411
op: 'http.server',
412-
status: 'internal_error',
412+
status: 'unknown_error',
413413
data: {
414414
method: 'POST',
415415
'http.response.status_code': 500,
@@ -457,7 +457,7 @@ describe.each(['builtin', 'express'])('Remix API Actions with adapter = %s', ada
457457
contexts: {
458458
trace: {
459459
op: 'http.server',
460-
status: 'internal_error',
460+
status: 'unknown_error',
461461
data: {
462462
method: 'POST',
463463
'http.response.status_code': 500,

packages/remix/test/integration/test/server/loader.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jest.spyOn(console, 'error').mockImplementation();
77

88
// Repeat tests for each adapter
99
describe.each(['builtin', 'express'])('Remix API Loaders with adapter = %s', adapter => {
10-
it('reports an error thrown from the loader', async () => {
10+
it.only('reports an error thrown from the loader', async () => {
1111
const env = await RemixTestEnv.init(adapter);
1212
const url = `${env.url}/loader-json-response/-2`;
1313

@@ -19,7 +19,7 @@ describe.each(['builtin', 'express'])('Remix API Loaders with adapter = %s', ada
1919
assertSentryTransaction(transaction, {
2020
contexts: {
2121
trace: {
22-
status: 'internal_error',
22+
status: 'unknown_error',
2323
data: {
2424
'http.response.status_code': 500,
2525
},
@@ -133,7 +133,7 @@ describe.each(['builtin', 'express'])('Remix API Loaders with adapter = %s', ada
133133
contexts: {
134134
trace: {
135135
op: 'http.server',
136-
status: 'internal_error',
136+
status: 'unknown_error',
137137
data: {
138138
method: 'GET',
139139
'http.response.status_code': 500,

packages/remix/test/integration/test/server/ssr.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('Server Side Rendering', () => {
1313
assertSentryTransaction(transaction[2], {
1414
contexts: {
1515
trace: {
16-
status: 'internal_error',
16+
status: 'unknown_error',
1717
data: {
1818
'http.response.status_code': 500,
1919
},

0 commit comments

Comments
 (0)