Merge remote-tracking branch 'origin/schedule-note' into schedule-note

This commit is contained in:
mattyatea 2023-11-09 18:37:09 +09:00
commit 8a735c23e7
No known key found for this signature in database
GPG key ID: 068E54E2C33BEF9A
7 changed files with 49 additions and 16 deletions

View file

@ -770,7 +770,11 @@ async function post(ev?: MouseEvent) {
// plugin
if (notePostInterruptors.length > 0) {
for (const interruptor of notePostInterruptors) {
postData = await interruptor.handler(deepClone(postData));
try {
postData = await interruptor.handler(deepClone(postData));
} catch (err) {
console.error(err);
}
}
}