-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
@@ -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="") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parfait, je change ça
There was a problem hiding this 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
Gestion d'erreurs si le scraper trouve pas de headline