コード例 #1
0
    private static void LogAwsLoadException(SystemsManagerExceptionContext exceptionContext,
                                            string configSourcePath)
    {
        var logger = CreateDefaultLogger();

        logger.Error(exceptionContext.Exception,
                     "Failed to load config parameters from AWS using path {path}",
                     configSourcePath);
    }
コード例 #2
0
 private static void SsmExceptionHandler(SystemsManagerExceptionContext obj)
 {
     throw new Exception("Problem with SSM:" + obj.Exception.Message);
 }