Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E radar plus error handling #25

Merged
merged 8 commits into from
Apr 6, 2023
Merged

E radar plus error handling #25

merged 8 commits into from
Apr 6, 2023

Conversation

ClementCadieux
Copy link
Contributor

Gestion d'erreurs si le scraper trouve pas de headline

@@ -521,14 +555,14 @@ tryCatch(
warning = function(w) {
clessnverse::logit(scriptname, paste(w, collapse=' '), logger)
print(w)
final_message <<- if (final_message == "") w else paste(final_message, "\n", w, sep="")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Utilise w$message ou e$message plutôt que faire des collapse.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parfait, je change ça

Copy link
Collaborator

@p2xcode p2xcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans tes messages d’erreur, utilise e$message ou w$message plutôt que des paste collapse

@p2xcode p2xcode merged commit 9fec747 into main Apr 6, 2023
@p2xcode p2xcode deleted the e_radar_plus_error_handling branch June 27, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants