You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, could you tell me how to catch the "No such file or directory" error?
varbase64=require('base64-stream');client.pull(device.id,'/sdcard/mydata.txt').then(function(transfer){transfer.pipe(base64.decode()).pipe(process.stdout)}).catch(function(error){console.log('-----> error');// <-- This does not work.});
The text was updated successfully, but these errors were encountered:
I also tried using callback, but I could not catch the error.
client.pull(device.id,'/sdcard/mydata.txt',function(err){console.log(err);// <-- This output is "null", but 'No such file or directory' error occurs.});
Hi, could you tell me how to catch the "No such file or directory" error?
The text was updated successfully, but these errors were encountered: