From 1529a5b2ad23da9ca2c9bf8554f75d99008e27fd Mon Sep 17 00:00:00 2001 From: Arthur Ulfeldt <arthur@ulfeldt.com> Date: Fri, 12 May 2017 12:21:24 -0700 Subject: [PATCH] Improve the error message when using wrong ssh tunnel host Or when running the tests on a computer thats not running sshd --- src/metabase/driver/mongo.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metabase/driver/mongo.clj b/src/metabase/driver/mongo.clj index 81ac8f9710f..3b51ad2964b 100644 --- a/src/metabase/driver/mongo.clj +++ b/src/metabase/driver/mongo.clj @@ -47,7 +47,7 @@ #"^com.jcraft.jsch.JSchException: Auth fail$" (driver/connection-error-messages :ssh-tunnel-auth-fail) - #"j^ava.net.ConnectException: Connection refused (Connection refused)$" + #".*JSchException: java.net.ConnectException: Connection refused.*" (driver/connection-error-messages :ssh-tunnel-connection-fail) #".*" ; default -- GitLab