postgresql store : what's the type I must use ?
Closed this issue · 4 comments
Deleted user commented
I've installed those packages :
StackExchange.Exceptional.AspNetCore 2.0.0-rc2.28
StackExchange.Exceptional.PostgreSql 2.0.0-rc2.28
In configureServices, I have :
services.AddExceptional(Configuration.GetSection("Exceptional"), settings =>
{
settings.UseExceptionalPageOnThrow = HostingEnvironment.IsDevelopment();
});
In Configure, the first line is :
app.UseExceptional();
The appSettings :
"Exceptional": {
"Store": {
"ApplicationName": "",
"Type": "PostgreSql",
"ConnectionString": ""
}
When I try to access the errors action, I get
System.Exception: Could not find error store type: PostgreSql
at StackExchange.Exceptional.ErrorStore.Get(ErrorStoreSettings settings)
at StackExchange.Exceptional.Internal.ExceptionalSettingsBase.get_DefaultStore()
at StackExchange.Exceptional.ExceptionalMiddleware.HandleRequestAsync(HttpContext context)
at api.Controllers.DefaultController.Exceptions()
NickCraver commented
Can you share what your .csproj
looks like?
NickCraver commented
@oooolivierrrr any update? Also consider the fix in #160 - I believe that workaround is the same issue as here that changes in later versions of ASP.NET Core.
Deleted user commented
i gave up
…________________________________
From: Nick Craver <notifications@github.com>
Sent: Saturday, March 2, 2019 8:05:57 AM
To: NickCraver/StackExchange.Exceptional
Cc: oooolivierrrr; Mention
Subject: Re: [NickCraver/StackExchange.Exceptional] postgresql store : what's the type I must use ? (#151)
@oooolivierrrr<https://github.com/oooolivierrrr> any update? Also consider the fix in #160<#160> - I believe that workaround is the same issue as here that changes in later versions of ASP.NET Core.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#151 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ApH6vUhegIwRnz2U6zRxAnfX5A4ZcZeuks5vSnc1gaJpZM4YT8Ob>.
NickCraver commented
@oooolivierrrr Got it - thanks for responding :)