forked from FoundKeyGang/FoundKey
translate more comments
This commit is contained in:
parent
85a392ee33
commit
d6452795b0
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ export async function exportCustomEmojis(job: Bull.Job, done: () => void): Promi
|
||||||
try {
|
try {
|
||||||
await downloadUrl(emoji.originalUrl, emojiPath);
|
await downloadUrl(emoji.originalUrl, emojiPath);
|
||||||
downloaded = true;
|
downloaded = true;
|
||||||
} catch (e) { // TODO: 何度か再試行
|
} catch (e) { // TODO: retry
|
||||||
logger.error(e instanceof Error ? e : new Error(e as string));
|
logger.error(e instanceof Error ? e : new Error(e as string));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ export default async function(ctx: Koa.Context) {
|
||||||
const isWebpublic = file.webpublicAccessKey === key;
|
const isWebpublic = file.webpublicAccessKey === key;
|
||||||
|
|
||||||
if (!file.storedInternal) {
|
if (!file.storedInternal) {
|
||||||
if (file.isLink && file.uri) { // 期限切れリモートファイル
|
if (file.isLink && file.uri) { // expired remote file
|
||||||
const [path, cleanup] = await createTemp();
|
const [path, cleanup] = await createTemp();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue