Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Raise an exception when attempting to insert before an invalid middleware #5

Merged

Conversation

craiglittle
Copy link
Contributor

Builder raises an exception when attempting to insert after an invalid middleware, but not before. Note that #delete and #replace would still have inconsistent behavior around this.

Builder raises an exception when attempting to insert *after* an
invalid middleware, but not before.
@mitchellh
Copy link
Owner

Yeah the correct solution is probably to add some more checks around everything that requests an index. Good catch. Thanks. :)

mitchellh added a commit that referenced this pull request Sep 30, 2012
Raise an exception when attempting to insert before an invalid middleware
@mitchellh mitchellh merged commit 0375fef into mitchellh:master Sep 30, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants