teams-alerter 0.1.8__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: teams-alerter
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Module pour envoyer des alertes Teams via Pub/Sub
5
5
  Author-email: Toki <t.bakotondrabe-ext@paris-turf.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "teams-alerter"
7
- version = "0.1.8"
7
+ version = "0.1.9"
8
8
  description = "Module pour envoyer des alertes Teams via Pub/Sub"
9
9
  authors = [{ name = "Toki", email = "t.bakotondrabe-ext@paris-turf.com" }]
10
10
  readme = "README.md"
@@ -22,7 +22,8 @@ class TeamsAlerter:
22
22
  utc_timestamp_minus_5min = DateUtils.get_str_utc_timestamp_minus_5min()
23
23
  utc_timestamp_plus_5min = DateUtils.get_str_utc_timestamp_plus_5min()
24
24
  url_log = f"https://console.cloud.google.com/logs/query;cursorTimestamp={utc_timestamp};startTime={utc_timestamp_minus_5min};endTime={utc_timestamp_plus_5min}?referrer=search&hl=fr&inv=1&invt=Ab5Y1Q&project={utils['app_project_id']}"
25
- detail = f"Error type: {error_type}\nError message: {error_message}\nError traceback: {error_traceback}"
25
+ # detail = f"Error type: {error_type}\nError message: {error_message}\nError traceback: {error_traceback}"
26
+ detail = {"type": error_type, "message": error_message, "traceback": error_traceback}
26
27
  level = "ERROR"
27
28
 
28
29
  teams_alerter = TeamsAlerter(utils)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: teams-alerter
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Module pour envoyer des alertes Teams via Pub/Sub
5
5
  Author-email: Toki <t.bakotondrabe-ext@paris-turf.com>
6
6
  License: MIT
File without changes
File without changes