Changeset 13924 for branches/thasling/DistributedGA/DistributedGA.ContactServer/ContactServiceImpl.cs
- Timestamp:
- 06/19/16 23:32:37 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.ContactServer/ContactServiceImpl.cs
r13918 r13924 30 30 try { 31 31 UpdateHeartbeat(source); 32 } catch (Exception ex) { 32 } 33 catch (Exception ex) { 33 34 AddError("ContactServiceImpl.RegisterPeer", ex); 34 35 } … … 46 47 return false; 47 48 }).ToList(); 48 } catch (Exception ex) { 49 } 50 catch (Exception ex) { 49 51 AddError("ContactServiceImpl.GetPeerList", ex); 50 52 return null; … … 58 60 File.AppendAllText("Log.txt", string.Concat(source.IpAddress, ":", source.Port, ",", source.ProblemInstance, ",", msg, Environment.NewLine)); 59 61 } 60 } catch (Exception ex) { 62 } 63 catch (Exception ex) { 61 64 //Nothing to do because maybe called from adderror 62 65 } … … 68 71 DateTime now = DateTime.Now; 69 72 allPeers.AddOrUpdate(source, now, (k, v) => v = now); 70 } catch (Exception ex) { 73 } 74 catch (Exception ex) { 71 75 AddError("ContactServiceImpl.UpdateHeartbeat", ex); 72 76 }
Note: See TracChangeset
for help on using the changeset viewer.