Skip to content

Commit 9a6b4cc

Browse files
committed
server: de-escalate onCreate exception log
eg. when dbChannel type unmappable. A CRIT with stack trace is a bit too scary for this recoverable situation.
1 parent 084336b commit 9a6b4cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/serverchan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ void ServerConn::handle_CREATE_CHANNEL()
319319
if(msg)
320320
break;
321321
}catch(std::exception& e){
322-
log_exc_printf(serversearch, "Client %s Unhandled error in onCreate %s,%d %s : %s\n", peerName.c_str(),
322+
log_err_printf(serversearch, "Client %s in onCreate %s,%d %s : %s\n", peerName.c_str(),
323323
pair.first.second.c_str(), pair.first.first,
324324
typeid(&e).name(), e.what());
325325
}

0 commit comments

Comments
 (0)