Add Better Error for HandheldCleanup

This commit is contained in:
Virtuworks 2014-06-08 16:07:47 -04:00
parent f5a9ee3ea1
commit 41eb70906b
2 changed files with 4 additions and 2 deletions

View file

@ -124,7 +124,7 @@ namespace WebsitePanel.Providers.HostedSolution
//run handheldcleanup.exe
if (File.Exists(file2))
{
string arguments2 = string.Format("-u -p {0} {1}",
string arguments2 = string.Format("-u -p {0} {1} ",
MAPIProfile,
"< servername.txt");
try
@ -147,7 +147,7 @@ namespace WebsitePanel.Providers.HostedSolution
catch (Exception ex)
{
HostedSolutionLog.EndLog("CreateBlackBerry5UserInternal", res, BlackBerryErrorsCodes.CANNOT_EXECUTE_COMMAND, ex);
HostedSolutionLog.EndLog("CreateBlackBerry5UserInternal", res, BlackBerryErrorsCodes.CANNOT_EXECUTE_COMMAND_HANDHELDCLEANUP, ex);
return res;
}
}