Forgot to remove old code for printing errors