mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-25 16:34:58 -04:00
fix: Format exception message
This commit is contained in:
@ -58,7 +58,8 @@ void RequestHandler::sendLLMRequest(const LLMConfig &config, const QJsonObject &
|
|||||||
try {
|
try {
|
||||||
handleLLMResponse(reply, request, config);
|
handleLLMResponse(reply, request, config);
|
||||||
} catch (const std::exception &e) {
|
} 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 (...) {
|
} catch (...) {
|
||||||
LOG_MESSAGE("Unknown exception in readyRead handler");
|
LOG_MESSAGE("Unknown exception in readyRead handler");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user