log command line arguments on error