Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1072

CLI gets stuck when wrong host/port is provided

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: SQL Shell
    • Labels:
      None

      Description

      Hi,

      When a wrong host or port provided in CLI, exceptions are thrown and the session is stuck, the prompt is not back until ctrl+c is executed.
      I need to be able to run a command like the below in batch mode and get the prompt back with a proper exit code when connect fails.

      tsql -c "\version" -h localhost -port 26003

      Thanks,
      Niv

        Attachments

          Activity

            People

            • Assignee:
              ykrips Jihun Kang
              Reporter:
              nivo999 Niv Zvi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: