change die to confess

This is likely to fail several levels deep from where you're actually making the mistake. A stack trace is needed for finding the real location of the error.