Hey, I’m on Edge (8.1.18) and I’m using the File Upload control in Perspective in a Workstation Kiosk environment.
I noticed that if I simulate an error on the onFileReceived event.file.copyTo() method, such as a broken file path or permission denied, I cannot capture the exception with a try block. Instead, it is only captured by the Gateway since apparently this exception isn’t raised to the calling function. Also, which is slightly more concerning, the control reports that the upload was a success, despite it failing to copy the file.
I have some workarounds, but I was wondering if I am missing anything here, and if not, I’d like to request that in a future release the control raises the exception to the caller.
Thanks!