mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 20:06:00 +00:00
reporting SSH tunnel errors
This commit is contained in:
@@ -21,6 +21,9 @@ function getConnectionLabelCore(connection, { allowExplicitDatabase = true } = {
|
||||
if (connection.databaseFile) {
|
||||
return getDatabaseFileLabel(connection.databaseFile);
|
||||
}
|
||||
if (connection.useSshTunnel && connection.server == 'localhost') {
|
||||
return `${connection.sshHost} - SSH`;
|
||||
}
|
||||
if (connection.server) {
|
||||
return connection.server;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user