mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-24 16:05:03 -04:00
fix: Format exception message
This commit is contained in:
@ -58,7 +58,8 @@ void RequestHandler::sendLLMRequest(const LLMConfig &config, const QJsonObject &
|
||||
try {
|
||||
handleLLMResponse(reply, request, config);
|
||||
} catch (const std::exception &e) {
|
||||
LOG_MESSAGE(QString("Exception in readyRead handler: %1").arg(e.what()));
|
||||
LOG_MESSAGE(
|
||||
QString("Exception in readyRead handler: %1").arg(QString::fromStdString(e.what())));
|
||||
} catch (...) {
|
||||
LOG_MESSAGE("Unknown exception in readyRead handler");
|
||||
}
|
||||
|
Reference in New Issue
Block a user