local filesystem tests written, all passing
This commit is contained in:
parent
8baa6d0964
commit
9557701527
4 changed files with 1343 additions and 1057 deletions
|
@ -19,7 +19,7 @@ const redis_client = redis.createClient({
|
|||
});
|
||||
|
||||
redis_client.on('error', err => {
|
||||
log.info('Redis: ', err);
|
||||
log.info('Redis:', err);
|
||||
});
|
||||
|
||||
if (notLocalHost) {
|
||||
|
@ -94,7 +94,10 @@ function localSet(id, file, filename, url) {
|
|||
});
|
||||
});
|
||||
|
||||
fstream.on('error', () => reject());
|
||||
fstream.on('error', () => {
|
||||
log.error('localSet:', 'Failed upload of ' + id);
|
||||
reject();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue