fix: stop crash on start with empty sentry dsn, make max avatar length a constant
This commit is contained in:
parent
d87856bf2c
commit
142ff36d3a
2 changed files with 6 additions and 2 deletions
|
@ -18,7 +18,7 @@ builder.AddSerilog();
|
|||
builder
|
||||
.WebHost.UseSentry(opts =>
|
||||
{
|
||||
opts.Dsn = config.Logging.SentryUrl;
|
||||
opts.Dsn = config.Logging.SentryUrl ?? "";
|
||||
opts.TracesSampleRate = config.Logging.SentryTracesSampleRate;
|
||||
opts.MaxRequestBodySize = RequestSize.Small;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue