The @error still return 0, but the $ERROR at least now contains the error.