Prior to the erasure there can be a smart test done. It will check the hard drive condition and it this has too many errors it will fail the process.
in the wd-options.cfg file you can set the amount of errors to pass or fail the smart test.
If the smart test fails it does not consume a license but it will generate a failed report.
Below settings can be changed for the smart test and all other error settings.
max-drive-errors=1 # you can change this value
smart-error-log-max=0 # you can change this value
smart-max-remap=0 # you can change this value
If you need help setting this up please contact email@example.com