Improving profiler error messages (#658)

* Improving error messages

* Fixing stopping error message

* Cleaning up repeat error messages

* Changing error names
This commit is contained in:
Madeline MacDonald
2018-07-16 18:22:12 -07:00
committed by GitHub
parent b8c31e1138
commit ec9d51ede1
5 changed files with 69 additions and 3 deletions

View File

@@ -3669,6 +3669,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string SessionNotFound
{
get
{
return Keys.GetString(Keys.SessionNotFound);
}
}
public static string UserCancelledSelectStep
{
get
@@ -4551,6 +4559,16 @@ namespace Microsoft.SqlTools.ServiceLayer
return Keys.GetString(Keys.EditDataIncorrectTable, tableName);
}
public static string StopSessionFailed(String error)
{
return Keys.GetString(Keys.StopSessionFailed, error);
}
public static string StartSessionFailed(String error)
{
return Keys.GetString(Keys.StartSessionFailed, error);
}
public static string EnableAlertsTitle(String serverName)
{
return Keys.GetString(Keys.EnableAlertsTitle, serverName);
@@ -6158,6 +6176,15 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string AzureSystemDbProfilingError = "AzureSystemDbProfilingError";
public const string StopSessionFailed = "StopSessionFailed";
public const string StartSessionFailed = "StartSessionFailed";
public const string SessionNotFound = "SessionNotFound";
public const string EnableAlertsTitle = "EnableAlertsTitle";