Skip to content

Commit 0f1d3c3

Browse files
author
gauffininteractive
committed
More small fixes
1 parent 6c16d8f commit 0f1d3c3

37 files changed

+60
-47
lines changed

ReadMe.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
OneTrueError - Automated exception handling.
1+
OneTrueError
22
================================
33

4-
OneTrueError is a exception handling library which takes care of everything from detecting and reporting exceptions to help you analyse them to be able to correct the root cause.
4+
Open source exception handling for .NET.
55

6+
![](screenshot.png)
7+
8+
9+
[Getting started guide](http://onetrueerror.com/documentation/client/gettingstarted.md)
10+
11+
12+
13+
## Licensing
14+
15+
* Server: AGPL
16+
* Client libraries: Apache 2.0

screenshot.png

79.7 KB
Loading

src/Server/OneTrueError.App.Tests/ObjectExtensions.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ public static void SetId(this object instance, object id)
1212
{
1313
instance.GetType().GetProperty("Id").SetValue(instance, id);
1414
}
15+
16+
public static void SetProperty(this object instance, string name, object value)
17+
{
18+
instance.GetType().GetProperty(name).SetValue(instance, value);
19+
}
1520
}
1621
}

src/Server/OneTrueError.Data.Common/Class1.cs renamed to src/Server/OneTrueError.Data.Common/IncludeNonPublicMembersContractResolver.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
namespace OneTrueError.Infrastructure
66
{
7+
/// <summary>
8+
/// Used by JSON.NET to be able to deserialize properties with private setters.
9+
/// </summary>
710
public class IncludeNonPublicMembersContractResolver : DefaultContractResolver
811
{
912
//protected override List<MemberInfo> GetSerializableMembers(Type objectType)

src/Server/OneTrueError.Data.Common/OneTrueError.Infrastructure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<Reference Include="System.Xml" />
5656
</ItemGroup>
5757
<ItemGroup>
58-
<Compile Include="Class1.cs" />
58+
<Compile Include="IncludeNonPublicMembersContractResolver.cs" />
5959
<Compile Include="Configuration\ConfigFile\ConfigFileStore.cs" />
6060
<Compile Include="Configuration\ConfigFile\KeyValueCollection.cs" />
6161
<Compile Include="Configuration\ConfigFile\KeyValueElement.cs" />

src/Server/OneTrueError.SqlServer/Analysis/AnalyticsRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public AnalyticsRepository(IAdoNetUnitOfWork unitOfWork)
3333
_unitOfWork = unitOfWork;
3434

3535
var settings = ConfigurationStore.Instance.Load<MessageQueueSettings>();
36-
if (settings.UseSql)
36+
if (settings != null && !settings.UseSql)
3737
{
3838
_queue = new MsmqMessageQueue(settings.ReportQueue, settings.ReportAuthentication,
3939
settings.ReportTransactions);

src/Server/OneTrueError.Web/Scripts/CqsClient.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/OneTrueError.Web/Scripts/Griffin.Net.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)