Hi there,
How can I catch load errors for a can.view call? I currently have
code like:
- can.view(self.options.view, data, function(frag)
- {
- self.element.html(frag);
- promise.resolve();
- })
- .fail(function()
- {
- // this is never called
- debugger;
- promise.reject();
- });
Similarly, if I wrap the can.view call in a try/catch, the catch is
never called.
Thanks,
Maurice