Merged changes from 1.0 branch.

This commit is contained in:
crs
2003-09-02 21:41:00 +00:00
parent 2f9cdfd1b2
commit 4fea7719f3
3 changed files with 57 additions and 22 deletions

View File

@@ -170,8 +170,13 @@ CThread::threadFunc(void* vjob)
result = e.m_result;
LOG((CLOG_DEBUG1 "caught exit on thread 0x%08x, result %p", id, result));
}
catch (XBase& e) {
LOG((CLOG_ERR "exception on thread 0x%08x: %s", id, e.what()));
delete job;
throw;
}
catch (...) {
LOG((CLOG_DEBUG1 "exception on thread 0x%08x", id));
LOG((CLOG_ERR "exception on thread 0x%08x: <unknown>", id));
delete job;
throw;
}