Skip to content

Commit

Permalink
Merge pull request #133 from SensCritique/fix/debug
Browse files Browse the repository at this point in the history
Debug: Envoi des erreurs dans Datadog
  • Loading branch information
audreylamy authored Feb 2, 2024
2 parents af4e1bb + c27c1c1 commit 6718e93
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest_chrome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "SensCritique",
"version": "1.4.8",
"version": "1.4.9",
"description": "Vous avez du mal à trouver des bons programmes sur vos plateformes de streaming ?",
"icons": {
"48": "images/logo-48.png",
Expand Down
2 changes: 1 addition & 1 deletion manifest_firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "SensCritique",
"version": "1.4.8",
"version": "1.4.9",
"description": "La note SensCritique est une boussole pour arrêter de perdre votre temps, et s’invite sur Netflix, Prime Video et Disney+ pour vous permettre de choisir de manière éclairée vos programmes.",
"icons": {
"48": "images/logo-48.png",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "senscritique-extension",
"version": "1.4.8",
"version": "1.4.9",
"description": "La note SensCritique est une boussole pour arrêter de perdre votre temps, et s’invite sur Netflix, Prime Video et Disney+ pour vous permettre de choisir de manière éclairée vos programmes.",
"author": "SensCritique",
"repository": {
Expand Down
Binary file modified releases/latest_chrome.zip
Binary file not shown.
Binary file modified releases/latest_firefox.xpi
Binary file not shown.
6 changes: 4 additions & 2 deletions src/http/SensCritique.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ const SensCritique = class SensCritique implements Client {
} catch (e) {
this.requestInError++
Logger.error(
'An error occured when trying to fetch product on SensCritique',
'An error occurred when trying to fetch product on SensCritique',
{
name: title,
error: e,
}
)
}
Expand Down Expand Up @@ -186,10 +187,11 @@ const SensCritique = class SensCritique implements Client {
} catch (e) {
this.requestInError++
Logger.error(
'An error occured when trying to fetch product on SensCritique',
'An error occurred when trying to fetch product on SensCritique',
{
platformProductIds,
provider,
error: e,
}
)
}
Expand Down

0 comments on commit 6718e93

Please sign in to comment.