mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Improve error message on thread creation failure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25784 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fcc4371ec1
commit
7adfdadc0e
1 changed files with 2 additions and 1 deletions
|
@ -885,7 +885,8 @@ gnustep_base_thread_callback(void)
|
||||||
_active = NO;
|
_active = NO;
|
||||||
RELEASE(self);
|
RELEASE(self);
|
||||||
[NSException raise: NSInternalInconsistencyException
|
[NSException raise: NSInternalInconsistencyException
|
||||||
format: @"Unable to detach thread (unknown error)"];
|
format: @"Unable to detach thread (perhaps %@)",
|
||||||
|
[NSError _last]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue