route to correct error file and dont commit error logs