From 45c75899632d7ff14e9e32f073d7a3ace7e1230f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 15 Feb 2023 16:41:29 +0100 Subject: replace Fatalf with Panicf Panicf includes a stacktrace and causes a debugger to halt. --- go/ui/mapView.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go/ui/mapView.go') diff --git a/go/ui/mapView.go b/go/ui/mapView.go index 697eb774..155750b4 100644 --- a/go/ui/mapView.go +++ b/go/ui/mapView.go @@ -138,7 +138,7 @@ func getPermanentSymbol(p game.Permanent, i int) *ebiten.Image { symbol := fmt.Sprintf("%c%d", unicode.ToUpper(rune(p.Card().Type.String()[0])), i) permanentSymbol = assets.GetGenericSymbol(symbol) if permanentSymbol == nil { - log.Fatalf("Failed to generate generic symbol %s", symbol) + log.Panicf("Failed to generate generic symbol %s", symbol) } } -- cgit v1.2.3