Revision 34bdb91d trunk/Pithos.Client.WPF/Preferences/AddAccountViewModel.cs

b/trunk/Pithos.Client.WPF/Preferences/AddAccountViewModel.cs
163 163

  
164 164
                IsConfirmed = true;
165 165
            }
166
            catch (PithosException exc)
167
            {
168
                ClearBusy();
169
                MessageBox.Show(exc.Message, "Unable to retrieve credentials");
170
            }
166 171
            catch (Exception exc)
167 172
            {
168 173
                IsConfirmed = false;
......
258 263
            
259 264
        }
260 265

  
261
        public WebProxy Proxy { get; set; }
262

  
263 266
        public async void TestAccount()
264 267
        {
265 268
            try
266 269
            {
267 270
                SetBusy("Validating Credentials", "");
268
                var client = new CloudFilesClient(AccountName, Token) { AuthenticationUrl = CurrentServer,Proxy=Proxy };                
271
                var client = new CloudFilesClient(AccountName, Token) { AuthenticationUrl = CurrentServer,/*Proxy=Proxy */};                
269 272
                var containers = await TaskEx.Run(() =>
270 273
                                                      {
271 274
                                                          client.Authenticate();

Also available in: Unified diff