fix(monitoring): add sentry monitoring #1686
Annotations
5 errors
test/index.test.ts > line position error:
test/server/query.ts#L567
Error: Snapshot `line position error 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
{
"code": "42703",
"error": "ERROR: 42703: column "missing_quotes" does not exist
LINE 3: WHERE relname = missing_quotes;
- ^
- ",
+ ^
+ ",
"file": "parse_relation.c",
"formattedError": "ERROR: 42703: column "missing_quotes" does not exist
LINE 3: WHERE relname = missing_quotes;
- ^
+ ^
- ",
+ ",
"length": 114,
"line": "3589",
"message": "column "missing_quotes" does not exist",
"name": "error",
"position": "40",
❯ test/server/query.ts:567:22
|
test/index.test.ts > error with additional details:
test/server/query.ts#L606
Error: Snapshot `error with additional details 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
{
"code": "P0003",
"error": "ERROR: P0003: query returned more than one row
HINT: Make sure the query returns a single row, or use LIMIT 1.
- CONTEXT: PL/pgSQL function inline_code_block line 6 at SQL statement
+ CONTEXT: PL/pgSQL function inline_code_block line 6 at SQL statement
- ",
+ ",
"file": "pl_exec.c",
"formattedError": "ERROR: P0003: query returned more than one row
HINT: Make sure the query returns a single row, or use LIMIT 1.
- CONTEXT: PL/pgSQL function inline_code_block line 6 at SQL statement
+ CONTEXT: PL/pgSQL function inline_code_block line 6 at SQL statement
- ",
+ ",
"hint": "Make sure the query returns a single row, or use LIMIT 1.",
"length": 216,
"line": "4349",
"message": "query returned more than one row",
"name": "error",
❯ test/server/query.ts:606:22
|
test/index.test.ts > error with all formatting properties:
test/server/query.ts#L654
Error: Snapshot `error with all formatting properties 1` mismatched
- Expected
+ Received
@@ -1,19 +1,19 @@
{
"code": "42P01",
"detail": "This is additional detail information",
"error": "ERROR: 42P01: relation "nonexistent_table" does not exist
DETAIL: This is additional detail information
- HINT: This is a hint for fixing the issue
+ HINT: This is a hint for fixing the issue
- CONTEXT: PL/pgSQL function inline_code_block line 7 at RAISE
+ CONTEXT: PL/pgSQL function inline_code_block line 7 at RAISE
- ",
+ ",
"file": "pl_exec.c",
"formattedError": "ERROR: 42P01: relation "nonexistent_table" does not exist
DETAIL: This is additional detail information
- HINT: This is a hint for fixing the issue
+ HINT: This is a hint for fixing the issue
- CONTEXT: PL/pgSQL function inline_code_block line 7 at RAISE
+ CONTEXT: PL/pgSQL function inline_code_block line 7 at RAISE
- ",
+ ",
"hint": "This is a hint for fixing the issue",
"length": 242,
"line": "3859",
"message": "relation "nonexistent_table" does not exist",
"name": "error",
❯ test/server/query.ts:654:22
|
test/index.test.ts > error with internalQuery property:
test/server/query.ts#L709
Error: Snapshot `error with internalQuery property 1` mismatched
- Expected
+ Received
@@ -1,16 +1,16 @@
{
"code": "42P01",
"error": "ERROR: 42P01: relation "nonexistent_table" does not exist
QUERY: SELECT * FROM nonexistent_table
- CONTEXT: PL/pgSQL function test_internal_query() line 4 at EXECUTE
+ CONTEXT: PL/pgSQL function test_internal_query() line 4 at EXECUTE
- ",
+ ",
"file": "parse_relation.c",
"formattedError": "ERROR: 42P01: relation "nonexistent_table" does not exist
QUERY: SELECT * FROM nonexistent_table
- CONTEXT: PL/pgSQL function test_internal_query() line 4 at EXECUTE
+ CONTEXT: PL/pgSQL function test_internal_query() line 4 at EXECUTE
- ",
+ ",
"internalPosition": "15",
"internalQuery": "SELECT * FROM nonexistent_table",
"length": 208,
"line": "1381",
"message": "relation "nonexistent_table" does not exist",
❯ test/server/query.ts:709:22
|
Test
Process completed with exit code 1.
|