From fe65fd4872b3f964faec5c757daec85c9f7bcb53 Mon Sep 17 00:00:00 2001 From: Mitja Nikolaus Date: Wed, 27 Mar 2024 10:28:18 +0100 Subject: [PATCH] More verbose error message on connection failure --- R/childesr.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/childesr.R b/R/childesr.R index 8ebdaca..aad47ba 100644 --- a/R/childesr.R +++ b/R/childesr.R @@ -108,7 +108,7 @@ connect_to_childes <- function(db_version = "current", db_args = NULL) { DBI::dbGetQuery(con, "SET NAMES utf8") return(con) }, - error = function(e) message("Could not connect to childes-db")) + error = function(e) message("Could not connect to childes-db:\n", e)) } #' Clear all MySQL connections