pushes e.message instead of full error object to errors array in importHelper

This commit is contained in:
Aster Fialla
2026-02-24 20:38:08 -05:00
parent dad80bd385
commit 5050f98e8f

View File

@@ -45,7 +45,7 @@ ih.pluralKitImport = async function (authorId, attachmentUrl= null) {
}
}
catch(e) {
errors.push(e);
errors.push(e.message);
}
}
const aggregatedText = addedMembers.length > 0 ? `Successfully added members: ${addedMembers.join(', ')}` : `${enums.err.NO_MEMBERS_IMPORTED}`;