mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-20 21:37:17 +00:00

If the user tries to drag and drop a directory to the application, then he'll get a scary `EISDIR` error message. This commit catches this error, and display a nice user friendly message instead. Change-Type: patch Changelog-Entry: Prevent uncaught `EISDIR` when dropping a directory to the application. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>