[Typer] [Git][monnier/typer][soilih] 2 commits: improve print and log error