Forge.file.info crashes my app if I pass wrong file object (with a wrong “uri” path in my case)
I think this situation should be handled by error callback.
Thank you for the bug report Igor!
Can you please provide an example of the parameters you passed to
forge.file.info() we can use to debug the cause?
it was json like this:
maybe something else, but as far as I understand the only valuable field there - “uri”
and that path was wrong in my case - there was no file movieCompressed17.mov in that folder (but folder path is correct).
Thank you muchly Igor!
If you update the version of the file module to
2.14 you’ll now get a sane “File not found” message in the error handler