diff --git a/ChangeLog b/ChangeLog index 83409ab2f..f852dbb88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-11 00:49-EST Gregory John Casamento + + * Source/NSBundleAdditions.m: + -[NSNibOutletConnector establishConnection] report exceptions when + establishing a connection, but don't fail to load. + 2009-02-10 Fred Kiefer * Source/NSToolbarFrameworkPrivate.h: Add method diff --git a/Source/NSBundleAdditions.m b/Source/NSBundleAdditions.m index 5183cd482..005f0edf6 100644 --- a/Source/NSBundleAdditions.m +++ b/Source/NSBundleAdditions.m @@ -179,10 +179,18 @@ @implementation NSNibOutletConnector - (void) establishConnection { - if (_src != nil) + NS_DURING { - [_src setValue: _dst forKey: _tag]; + if (_src != nil) + { + [_src setValue: _dst forKey: _tag]; + } } + NS_HANDLER + { + NSLog(@"Error while establishing connection %@: %@",self,[localException reason]); + } + NS_ENDHANDLER; } @end