forked from ddrilling/AsbCloudServer
В DbContext добавил "Include Error Detail" для конструктора
This commit is contained in:
parent
d79c7c9c97
commit
2afab2077f
@ -104,7 +104,7 @@ namespace AsbCloudDb.Model
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
if (!optionsBuilder.IsConfigured)
|
||||
optionsBuilder.UseNpgsql("Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True"
|
||||
optionsBuilder.UseNpgsql("Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True;"
|
||||
//, builder=>builder.EnableRetryOnFailure(2, System.TimeSpan.FromMinutes(1))
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user