documentcloud/backbone — Issue #916: How to catch "Can't add the same model to a collection twice" error in collection.fetch()?
Author: KyleAMathews
Created: 2012-01-31 19:23:54+00:00
State: open

I'm building an app where models lazy load related models when needed. I'm upgrading to 0.9 today and I've run into a problem where multiple models are loading models all at once. Some models are being loaded twice which triggers the above error.

My question is how do I catch it? I've commented the error out for now.