~emersion/drmdb

145d80d9716d436525ef73a525159cfb8c39f918 — Simon Ser 2 months ago 963275d
Add missing space in error messages
1 files changed, 3 insertions(+), 3 deletions(-)

M server.go
M server.go => server.go +3 -3
@@ 73,17 73,17 @@ func New() *echo.Echo {

	db, err := database.Open()
	if err != nil {
		e.Logger.Fatal("Failed to open database:", err)
		e.Logger.Fatal("Failed to open database: ", err)
	}

	e.Renderer, err = loadTemplates()
	if err != nil {
		e.Logger.Fatal("Failed to load templates:", err)
		e.Logger.Fatal("Failed to load templates: ", err)
	}

	pciVendors, pciDevices, err := loadPCIIDs()
	if err != nil {
		e.Logger.Error("Failed to load PCI IDs:", err)
		e.Logger.Error("Failed to load PCI IDs: ", err)
	}

	e.HTTPErrorHandler = func(err error, ctx echo.Context) {