mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
local filesystem tests written, all passing
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user