Update error message when checking the output length arg