Skip to content

Commit

Permalink
fix Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-garcia committed Jul 14, 2019
1 parent 94bbb0c commit 27f2692
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/NuGetTrends.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ private static readonly string Environment
.AddEnvironmentVariables()
.Build();


public static int Main(string[] args)
{
if (Environment != "Production")
Expand Down
2 changes: 1 addition & 1 deletion src/NuGetTrends.Api/appsettings.Production.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"": {
"Sentry": {
"Dsn": "https://[email protected]/1266317",
"AttachStackTrace": true, // Send stack trace of log messages (without exception)
"Debug": true,
Expand Down
2 changes: 1 addition & 1 deletion src/NuGetTrends.Api/appsettings.Staging.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"": {
"Sentry": {
"Dsn": "https://[email protected]/1266317",
"AttachStackTrace": true, // Send stack trace of log messages (without exception)
"Debug": true,
Expand Down

0 comments on commit 27f2692

Please sign in to comment.