Update group limits error message
This commit is contained in:
@@ -10,7 +10,7 @@ function makeGetter(configKey: ConfigKeyType): (fallback?: number) => number {
|
|||||||
try {
|
try {
|
||||||
return parseIntOrThrow(
|
return parseIntOrThrow(
|
||||||
getValue(configKey),
|
getValue(configKey),
|
||||||
'Failed to parse group size limit'
|
`Failed to parse ${configKey} as an integer`
|
||||||
);
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (isNumber(fallback)) {
|
if (isNumber(fallback)) {
|
||||||
|
Reference in New Issue
Block a user