DCAppAttestService.attestKey hangs on wrong input

When calling DCAppAttestService.attestKey(...) with either
  • invalid keyIdentifier

  • too long clientDataHash

the service just hangs and the callback is never called with an error or result.

How should we handle this, apart from validating the input before calling the method? Shouldnt the callback return with an error if any of the arguments are invalid?
DCAppAttestService.attestKey hangs on wrong input
 
 
Q