forked from PluralFlux/PluralFlux
pushes e.message instead of full error object to errors array in importHelper
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user