show error name and message when run from CLI