Warn instead of error when stash import user does not exist.

This commit is contained in:
DebaucheryLibrarian 2023-06-08 03:42:26 +02:00
parent d0b19752e1
commit a16ca716da
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ async function load() {
.first();
if (!user) {
throw new Error(`No user '${stash.username}'`);
console.warn(`No user '${stash.username}'`);
return;
}
const stashId = await getStashId(stash, user);