Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/threadWorks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void threadWorks::sendRequest(apiClient& client, bool verbose, std::string paylo
// Catches payload not found errors essentially. If it can not parse it
// then it was mostly not found or malformed.
try {
json jsonPayload = json::parse(f);
jsonPayload = json::parse(f);
} catch (const nlohmann::json_abi_v3_11_3::detail::parse_error& e) {
std::lock_guard<std::mutex> lock(errorMutex);
std::cerr << "Parsing Error: Payload file not found or incorrect JSON" << std::endl;
Expand Down