Rather than redirecting stderr, the script should avoid the errors, so that when there is a genuine error, it is not lost.
Rather than redirecting stderr, the script should avoid the errors, so that
when there is a genuine error, it is not lost.