Fix pyload debug line

pull/3667/head
shamoon 6 months ago
parent 148511e6f8
commit b03467a832

@ -37,7 +37,7 @@ async function fetchFromPyloadAPI(url, sessionId, params, service) {
try {
returnData = JSON.parse(Buffer.from(data).toString());
} catch (e) {
logger.error(`Error logging into pyload API: ${JSON.stringify(data)}`);
logger.error(`Error communicating with pyload API at ${url}, returned: ${JSON.stringify(data)}`);
returnData = data;
}
return [status, returnData, responseHeaders];

Loading…
Cancel
Save