console to err when error