show output on error but suppress otherwise