refacator: fix typw
This commit is contained in:
parent
1dc06f7ad3
commit
b6db709e02
7 changed files with 7 additions and 8 deletions
|
|
@ -75,7 +75,7 @@ export async function exportCustomEmojis(job: Bull.Job, done: () => void): Promi
|
|||
await downloadUrl(emoji.originalUrl, emojiPath);
|
||||
downloaded = true;
|
||||
} catch (e) { // TODO: 何度か再試行
|
||||
logger.error(e);
|
||||
logger.error(e instanceof Error ? e : new Error(e as string));
|
||||
}
|
||||
|
||||
if (!downloaded) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue