Skip to content

Commit 2faf9c9

Browse files
committed
Add exception details
1 parent 5f3d151 commit 2faf9c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/complete/GraphQL/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public void ConfigureServices(IServiceCollection services)
7171
.AddDataLoader<SessionByIdDataLoader>()
7272
.AddDataLoader<SpeakerByIdDataLoader>()
7373
.AddDataLoader<TrackByIdDataLoader>()
74+
.ModifyRequestOptions(o => o.IncludeExceptionDetails = true)
7475

7576
// we make sure that the db exists and prefill it with conference data.
7677
.EnsureDatabaseIsCreated()

0 commit comments

Comments
 (0)