diff --git a/builtin/logical/pki/path_intermediate.go b/builtin/logical/pki/path_intermediate.go index 80788b39a5d..54492072e6f 100644 --- a/builtin/logical/pki/path_intermediate.go +++ b/builtin/logical/pki/path_intermediate.go @@ -81,7 +81,7 @@ func (b *backend) pathGenerateIntermediate(ctx context.Context, req *logical.Req switch err.(type) { case errutil.UserError: return logical.ErrorResponse(err.Error()), nil - case errutil.InternalError: + default: return nil, err } }