add not found error message (#646)
This commit is contained in:
@@ -26,7 +26,8 @@ class BeaconChainLowerBoundBlockDetector(
|
|||||||
companion object {
|
companion object {
|
||||||
val notFoundError = "NOT_FOUND:" // e.g. {"message":"NOT_FOUND: beacon block at slot 1086646","code":404}
|
val notFoundError = "NOT_FOUND:" // e.g. {"message":"NOT_FOUND: beacon block at slot 1086646","code":404}
|
||||||
val notFoundError2 = "Could not find requested block" // {"message":"Could not find requested block: signed beacon block can't be nil","code":404}
|
val notFoundError2 = "Could not find requested block" // {"message":"Could not find requested block: signed beacon block can't be nil","code":404}
|
||||||
val stateErrors = setOf(notFoundError, notFoundError2)
|
val notFoundError3 = "has not been found" // Block header/data has not been found
|
||||||
|
val stateErrors = setOf(notFoundError, notFoundError2, notFoundError3)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun period(): Long {
|
override fun period(): Long {
|
||||||
|
|||||||
Reference in New Issue
Block a user