scheduled attachment deletion WIP

This commit is contained in:
zadam
2023-04-20 00:11:09 +02:00
parent c6c162cdda
commit e71b0d82a1
4 changed files with 54 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ function parseDate(str) {
return new Date(Date.parse(str));
}
catch (e) {
throw new Error(`Can't parse date from ${str}: ${e.stack}`);
throw new Error(`Can't parse date from '${str}': ${e.message} ${e.stack}`);
}
}