From 006f245c109a29fbb0ad2115261748ad6cc17e49 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Mon, 17 Oct 2022 12:40:51 -0700 Subject: [PATCH] Add warning if current InfiniTime doesn't support BLE FS (#29) --- cmd/itctl/firmware.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/itctl/firmware.go b/cmd/itctl/firmware.go index bcf41fb..d8d3f39 100644 --- a/cmd/itctl/firmware.go +++ b/cmd/itctl/firmware.go @@ -6,6 +6,7 @@ import ( "time" "github.com/cheggaaa/pb/v3" + "github.com/rs/zerolog/log" "github.com/urfave/cli/v2" "go.arsenm.dev/itd/api" ) @@ -20,6 +21,7 @@ func fwUpgrade(c *cli.Context) error { err = resLoad(c.Context, []string{absRes}) if err != nil { + log.Error().Msg("Resource loading has returned an error. This can happen if your current version of InfiniTime doesn't support BLE FS. Try updating without resource loading, and then load them after using the `itctl res load` command.") return err } }