forked from corda/corda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EG-2654 - Ensure stack traces are printed to the logs in error report…
…ing (corda#6345) * EG-2654 Ensure stack trace is printed to the logs in error reporting * EG-2654 - Add a test case for exception logging
- Loading branch information
Showing
8 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
common/logging/src/main/resources/error-codes/database-failed-startup.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
errorTemplate = Failed to create the datasource. See the logs for further information and the cause. | ||
errorTemplate = Failed to create the datasource: {0}. See the logs for further information and the cause. | ||
shortDescription = The datasource could not be created for unknown reasons. | ||
actionsToFix = The logs in the logs directory should contain more information on what went wrong. | ||
aliases = |
2 changes: 1 addition & 1 deletion
2
common/logging/src/main/resources/error-codes/database-failed-startup_en_US.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
errorTemplate = Failed to create the datasource. See the logs for further information and the cause. | ||
errorTemplate = Failed to create the datasource: {0}. See the logs for further information and the cause. | ||
shortDescription = The datasource could not be created for unknown reasons. | ||
actionsToFix = The logs in the logs directory should contain more information on what went wrong. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
common/logging/src/test/resources/errorReporting/test-case4.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
errorTemplate = This is the fourth test message | ||
shortDescription = Test description | ||
actionsToFix = Actions | ||
aliases = |
4 changes: 4 additions & 0 deletions
4
common/logging/src/test/resources/errorReporting/test-case4_en_US.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
errorTemplate = This is the fourth test message | ||
shortDescription = Test description | ||
actionsToFix = Actions | ||
aliases = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters