notify user of image upload error

This commit is contained in:
Robin Appelman 2020-12-08 22:34:46 +01:00
commit af59201c70

View file

@ -392,6 +392,7 @@ export class Steam {
p.ourSendImages.push(sendUrl);
} catch (e) {
log.error(`Error while sending image ${e}`);
await this.bridge.sendStatusMessage(room.puppetId, `Error while sending image ${e}`);
}
} else {
await this.bridge.sendStatusMessage(room.puppetId, `Sending images to groups is currently not supported`);