carp-streamer
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -67,4 +67,12 @@ #!/usr/bin/env node | ||
if (dirent.isDirectory()) { | ||
if (!pretend) | ||
yield app_1.createRemoteFolderUnlessItExists(relativePath, rootFolder, client); | ||
try { | ||
if (!pretend) | ||
yield app_1.createRemoteFolderUnlessItExists(relativePath, rootFolder, client); | ||
} | ||
catch (error) { | ||
debug('%s: %s', error.name, error.message); | ||
debug('%s', error.stack); | ||
console.log(`Failed to synchronize '${relativePath}'.`); | ||
throw error; | ||
} | ||
continue; | ||
@@ -71,0 +79,0 @@ } |
{ | ||
"name": "carp-streamer", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Carp streamer", | ||
@@ -5,0 +5,0 @@ "bin": "dist/index.js", |
@@ -54,3 +54,10 @@ #!/usr/bin/env node | ||
if (dirent.isDirectory()) { | ||
if (!pretend) await createRemoteFolderUnlessItExists(relativePath, rootFolder, client); | ||
try { | ||
if (!pretend) await createRemoteFolderUnlessItExists(relativePath, rootFolder, client); | ||
} catch (error) { | ||
debug('%s: %s', error.name, error.message); | ||
debug('%s', error.stack); | ||
console.log(`Failed to synchronize '${relativePath}'.`); | ||
throw error; | ||
} | ||
continue; | ||
@@ -57,0 +64,0 @@ } |
Sorry, the diff of this file is not supported yet
49912
803