From e2fb34eb6fd3daaed2efd3f1b40d16886884b6cb Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:39:06 +0100 Subject: [PATCH] Fix oops --- setup/base/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/base/base.go b/setup/base/base.go index e49507245..455337e59 100644 --- a/setup/base/base.go +++ b/setup/base/base.go @@ -164,7 +164,7 @@ func SetupAndServeHTTP( // We only need the files beneath the static/client/login folder. sub, err := fs.Sub(loginFallback, "static/client/login") if err != nil { - logrus.Panic("unable to read embedded files, this should never happen: %s", err) + logrus.Panicf("unable to read embedded files, this should never happen: %s", err) } // Serve a static page for login fallback routers.Static.PathPrefix("/client/login/").Handler(http.StripPrefix("/_matrix/static/client/login/", http.FileServer(http.FS(sub))))