Skip to content

Commit b4b19b9

Browse files
authored
update ContentNotAcceptable error description (#4212)
The `ContentNotAcceptableError` is triggered when client either requests an unsupported media type, or has form errors such as sending multiples. Updating the description to also indicate non-supported Accept headers.
1 parent 5da94ad commit b4b19b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/rpc/rest_constants.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const
151151
InvalidLogLevelValueError* =
152152
"Invalid log level value error"
153153
ContentNotAcceptableError* =
154-
"Could not find out accepted content type"
154+
"Accepted media type not supported"
155155
InvalidAcceptError* =
156156
"Incorrect accept response type"
157157
MissingSubCommitteeIndexValueError* =

0 commit comments

Comments
 (0)