jmtpfs
jmtpfs copied to clipboard
Adding exception handler for MtpErrorCantOpenDevice
MtpErrorCantOpenDevice exception is thrown from MtpDevice::MtpDevice() and this causes crash/coredump. This can be triggered on a Samsung S7 and on a desktop with KDE). Fix: add exception handler to exit gracefully.
It seems like this patch could solve #25, #21 and #19