Update error message in supaMemory.ts to use JSON.stringify for da.data
This commit is contained in:
@@ -229,7 +229,7 @@ export async function supaMemory(
|
|||||||
return {
|
return {
|
||||||
currentTokens: currentTokens,
|
currentTokens: currentTokens,
|
||||||
chats: chats,
|
chats: chats,
|
||||||
error: "SupaMemory: HTTP: " + await da.data
|
error: "SupaMemory: HTTP: " + JSON.stringify(da.data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -239,7 +239,7 @@ export async function supaMemory(
|
|||||||
return {
|
return {
|
||||||
currentTokens: currentTokens,
|
currentTokens: currentTokens,
|
||||||
chats: chats,
|
chats: chats,
|
||||||
error: "SupaMemory: HTTP: " + await da.data
|
error: "SupaMemory: HTTP: " + JSON.stringify(da.data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user