logs improved
This commit is contained in:
parent
6dc2638de0
commit
c270586071
1 changed files with 2 additions and 1 deletions
|
|
@ -141,7 +141,8 @@ self.onmessage = async function(event) {
|
||||||
chunk = chunk.substring(chunk.lastIndexOf('\n') + 1);
|
chunk = chunk.substring(chunk.lastIndexOf('\n') + 1);
|
||||||
console.log(">>>>>>>>>>>>>> [ThunderAI] last chunk: " + JSON.stringify(chunk));
|
console.log(">>>>>>>>>>>>>> [ThunderAI] last chunk: " + JSON.stringify(chunk));
|
||||||
}catch(e){
|
}catch(e){
|
||||||
console.error(">>>>>>>>>>>>> [ThunderAI] error: " + JSON.stringify(e));
|
console.log(">>>>>>>>>>>>>> [ThunderAI] last chunk: " + JSON.stringify(chunk));
|
||||||
|
console.error(">>>>>>>>>>>>> [ThunderAI] error: " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const parsedLine of parsedLines) {
|
for (const parsedLine of parsedLines) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue