Add Better Error for HandheldCleanup
This commit is contained in:
parent
f5a9ee3ea1
commit
41eb70906b
2 changed files with 4 additions and 2 deletions
|
@ -42,6 +42,8 @@
|
||||||
|
|
||||||
public const string CANNOT_EXECUTE_COMMAND = "CANNOT_EXECUTE_COMMAND";
|
public const string CANNOT_EXECUTE_COMMAND = "CANNOT_EXECUTE_COMMAND";
|
||||||
|
|
||||||
|
public const string CANNOT_EXECUTE_COMMAND_HANDHELDCLEANUP = "CANNOT_EXECUTE_COMMAND_HANDHELDCLEANUP";
|
||||||
|
|
||||||
public const string CANNOT_GET_BLACKBERRY_PROXY = "CANNOT_GET_BLACKBERRY_PROXY";
|
public const string CANNOT_GET_BLACKBERRY_PROXY = "CANNOT_GET_BLACKBERRY_PROXY";
|
||||||
|
|
||||||
public const string CANNOT_ADD_BLACKBERRY_USER = "CANNOT_ADD_BLACKBERRY_USER";
|
public const string CANNOT_ADD_BLACKBERRY_USER = "CANNOT_ADD_BLACKBERRY_USER";
|
||||||
|
|
|
@ -124,7 +124,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
||||||
//run handheldcleanup.exe
|
//run handheldcleanup.exe
|
||||||
if (File.Exists(file2))
|
if (File.Exists(file2))
|
||||||
{
|
{
|
||||||
string arguments2 = string.Format("-u -p {0} {1}",
|
string arguments2 = string.Format("-u -p {0} {1} ",
|
||||||
MAPIProfile,
|
MAPIProfile,
|
||||||
"< servername.txt");
|
"< servername.txt");
|
||||||
try
|
try
|
||||||
|
@ -147,7 +147,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
||||||
|
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
HostedSolutionLog.EndLog("CreateBlackBerry5UserInternal", res, BlackBerryErrorsCodes.CANNOT_EXECUTE_COMMAND, ex);
|
HostedSolutionLog.EndLog("CreateBlackBerry5UserInternal", res, BlackBerryErrorsCodes.CANNOT_EXECUTE_COMMAND_HANDHELDCLEANUP, ex);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue