chore: add log
This commit is contained in:
parent
ba1d9e794a
commit
4394c9cfb6
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ export async function handler(key: string, event: string): Promise<boolean> {
|
|||
cachedBuffer[key] = buffer;
|
||||
} catch (e: any) {
|
||||
if (e.code === "NoSuchKey") {
|
||||
console.info(`[AMQ] Key: ${key} received but cannot be found.`)
|
||||
delete cachedBuffer[key];
|
||||
delete cachedMetadata[key];
|
||||
await ensureDelete(pathname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue