|
@@ -129,10 +129,14 @@ async def is_close_changed_notice():
|
|
|
RawMessage={"Data": msg.as_string()}
|
|
|
)
|
|
|
print(response)
|
|
|
-
|
|
|
# Display an error if something goes wrong.
|
|
|
except ClientError as e:
|
|
|
print(e.response['Error']['Message'])
|
|
|
+ #return e.response['Error']['Message']
|
|
|
else:
|
|
|
print("Email sent! Message ID:"),
|
|
|
- print(response['MessageId'])
|
|
|
+ print(response['MessageId'])
|
|
|
+
|
|
|
+ return "Email sent! Message ID:" + response['MessageId']
|
|
|
+
|
|
|
+ return response
|