diff --git a/Source/NSThread.m b/Source/NSThread.m index 8eb422923..17e0bdc29 100644 --- a/Source/NSThread.m +++ b/Source/NSThread.m @@ -885,7 +885,8 @@ gnustep_base_thread_callback(void) _active = NO; RELEASE(self); [NSException raise: NSInternalInconsistencyException - format: @"Unable to detach thread (unknown error)"]; + format: @"Unable to detach thread (perhaps %@)", + [NSError _last]]; } }