Warn instead of error when stash import user does not exist.
This commit is contained in:
parent
d0b19752e1
commit
a16ca716da
|
@ -120,7 +120,8 @@ async function load() {
|
||||||
.first();
|
.first();
|
||||||
|
|
||||||
if (!user) {
|
if (!user) {
|
||||||
throw new Error(`No user '${stash.username}'`);
|
console.warn(`No user '${stash.username}'`);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const stashId = await getStashId(stash, user);
|
const stashId = await getStashId(stash, user);
|
||||||
|
|
Loading…
Reference in New Issue