more logs and proper error message when output is empty