Commit 2a852c6
authored
Misc fixes to error logging (#834)
Remove next-logger and register console loggers directly in registerLoggers function
Fix messageKey for log messages
Fix errorKey to serialize errors correctly
Rename all "cause" fields to "error" so that we can serialize backend errors correctly
Add logs to listAllDomains for errors
Add request URL to RequestError (and update tests)1 parent 62bf40c commit 2a852c6
File tree
46 files changed
+232
-123
lines changed- src
- route-handlers
- cancel-workflow
- describe-cluster
- describe-domain
- describe-task-list
- describe-workflow
- fetch-workflow-query-types
- get-workflow-history
- list-workflows-basic
- list-workflows
- log-to-server
- query-workflow
- terminate-workflow
- update-domain
- utils
- data-formatters
- format-pending-workflow-history-event
- __tests__
- format-workflow-history-event
- __tests__
- logger
- console
- __tests__
- helpers
- pino
- request
- __tests__
- route-handlers-middleware
- __tests__
- views
- domain-page/domain-page-error/__tests__
- domain-workflows-archival/domain-workflows-archival-table/helpers/__tests__
- domain-workflows-basic/domain-workflows-basic-table/helpers/__tests__
- domain-workflows/domain-workflows-table/helpers/__tests__
- domains-page/helpers
- task-list-page/task-list-error/__tests__
- workflow-history/workflow-history-timeline-load-more/__tests__
- workflow-page
- helpers/__tests__
- workflow-page-error/__tests__
- workflow-queries/workflow-queries-result-json/helpers/__tests__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+232
-123
lines changedThis file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments