handle non-existent databases more gracefull
janl opened this issue · comments
> COUCH_URL=http://admin:asd@127.0.0.1:5984 node bin.js -n basd -q 2 -v
[couch-continuum] Migrating database 'basd' to { q: 2 }...
[couch-continuum] Creating temp db: basd_temp_copy
[couch-continuum] Setting primary db as unavailable...
(node:49760) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): #<Object>
(node:49760) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.