try
{
string [] results = sql("Jira","SELECT [Name] FROM [V_Institution]);
runnerLog("SQL query completed");
}
catch string err
{
runnerLog("SQL query failed : " + err);
}
catch {
runnerLog("SQL query failed.");
}
Hi all,
The catch all clause will catch the exception when the sql query failed.
How can the script get the query error message to show it immediately to the user ?
Thanks in advance for your help.