int DebugOut::debugThreshhold = 0;
std::streambuf * DebugOut::buf = cout.rdbuf();
-const int DebugOut::Error = 999999;
-const int DebugOut::Warning = 999998;
+const int DebugOut::Error = 1 << 16;
+const int DebugOut::Warning = 1 << 24;
void debugOut(string message)
{
AsyncPropertyReply* reply = *itr;
reply->value = &l;
reply->success = true;
- reply->completed(reply);
+ try{
+ reply->completed(reply);
+ }
+ catch(...)
+ {
+ DebugOut(DebugOut::Warning)<<"reply failed"<<endl;
+ }
}
replyQueue.clear();