mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Logging
This commit is contained in:
parent
b30dd98f73
commit
b92d8256a4
|
|
@ -104,7 +104,9 @@ export class LogManager {
|
|||
|
||||
string += `${stringified}\n`;
|
||||
} catch {
|
||||
string += ` [Invalid JSON] (raw: ${await req.text()})\n`;
|
||||
string += ` [Invalid JSON] (raw: ${await req
|
||||
.clone()
|
||||
.text()})\n`;
|
||||
}
|
||||
} else if (
|
||||
content_type &&
|
||||
|
|
|
|||
|
|
@ -79,6 +79,8 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
|
|||
.split(",")[0]
|
||||
.replace(/"/g, "");
|
||||
|
||||
console.log(`Resolving keyId ${keyId}`);
|
||||
|
||||
const sender = await resolveUser(keyId);
|
||||
|
||||
if (!sender) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue