fix(navbar): log error when up state detection fails