Fatalf and FatalFileRead

This commit is contained in:
Gregory Wells
2026-03-24 17:51:59 -04:00
parent 8d0cd0fd1b
commit 5aa2ce47c7
3 changed files with 23 additions and 1 deletions

View File

@@ -313,7 +313,7 @@ func main() {
var err error = nil
blankPhotoData, err = ReadFile("static/blank_profile.jpg")
if err != nil {
log.Fatal("Could not load blank profile image")
logging.Fatal("Could not load blank profile image")
}
serverConfig, err = loadServerConfig("./data/config.json")
if err != nil {