testplanet: log stack trace for error during creation
Change-Id: Ifcd2cba4195413a7213ba4d113c43f9fb3cbc3e5
This commit is contained in:
parent
bde302fdb8
commit
99c3ba5bbf
@ -42,7 +42,7 @@ func Run(t *testing.T, config Config, test func(t *testing.T, ctx *testcontext.C
|
||||
|
||||
planet, err := NewCustom(zaptest.NewLogger(t), planetConfig)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
t.Fatalf("%+v", err)
|
||||
}
|
||||
defer ctx.Check(planet.Shutdown)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user