This commit is contained in:
Vinay Bhat 2019-03-05 18:42:57 +05:30
Родитель 085710d5b6
Коммит 08b25feba9
2 изменённых файлов: 3 добавлений и 16 удалений

Просмотреть файл

@ -46,19 +46,6 @@ namespace PolicyStorageService
};
}
/// <summary>
/// This is the main entry point for your service replica.
/// This method executes when this replica of your service becomes primary and has write status.
/// </summary>
/// <param name="cancellationToken">Canceled when Service Fabric needs to shut down this service replica.</param>
protected override async Task RunAsync(CancellationToken cancellationToken)
{
// TODO: Replace the following sample code with your own logic
// or remove this RunAsync override if it's not needed in your service.
}
/// <summary>
/// This is called by Restore Service to and it stores the storage details along with the policy details in the reliable dictionary
/// </summary>

Просмотреть файл

@ -128,7 +128,7 @@ namespace RestoreService
}
catch (Exception e)
{
Console.WriteLine("Exception occured.");
Console.WriteLine("Exception occured: " + e.Message);
return null;
}
@ -164,7 +164,7 @@ namespace RestoreService
}
catch (Exception e)
{
Console.WriteLine("Exception occured.");
Console.WriteLine("Exception occured: " + e.Message);
return null;
}
@ -243,7 +243,7 @@ namespace RestoreService
catch (Exception e)
{
throw;
throw new Exception(e.Message);
}
}