mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Clarify error origin
This commit is contained in:
@@ -221,7 +221,7 @@ exports.createImporter = (writeExistingAttachmentData) => {
|
||||
}
|
||||
|
||||
if (!isString(attachment.path)) {
|
||||
throw new TypeError('"attachment.path" is required');
|
||||
throw new TypeError('"attachment.path" is required during message import');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user