1
0
Fork 0
hugo/tpl/debug
Bjørn Erik Pedersen 38e05bd3c7 Fix panic with debug.Dump with Page when running the server
This replaces the current implementation with `json.MarshalIndent` which doesn't produce the same output, but at least it doesn't crash.

There's a bug in the upstream `litter` library. This can probably be fixed, but that needs to wait.

I have tested `go-spew` which does not crash, but it is very data racy in this context.

FIxes #12309
2024-03-26 20:41:30 +01:00
..
debug.go Fix panic with debug.Dump with Page when running the server 2024-03-26 20:41:30 +01:00
debug_integration_test.go Fix panic with debug.Dump with Page when running the server 2024-03-26 20:41:30 +01:00
init.go Fix panic with debug.Dump with Page when running the server 2024-03-26 20:41:30 +01:00