Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'xpicio/modules_json_packet' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
asbjornu committed Nov 12, 2014
2 parents 9986c47 + 60dd480 commit 58a380a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/SharpRaven/Data/JsonPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ public JsonPacket(string project)
private JsonPacket()
{
// Get assemblies.
Modules = SystemUtil.GetModules().ToList();
Modules = SystemUtil
.GetModules()
.ToDictionary(k => k.Name, v => v.Version);

// The current hostname
ServerName = Environment.MachineName;
Expand Down Expand Up @@ -204,7 +206,7 @@ private JsonPacket()
/// The modules.
/// </value>
[JsonProperty(PropertyName = "modules", NullValueHandling = NullValueHandling.Ignore)]
public List<SentryModule> Modules { get; set; }
public IDictionary<string, string> Modules { get; set; }

/// <summary>
/// A string representing the platform the client is submitting from.
Expand Down

0 comments on commit 58a380a

Please sign in to comment.