Improve log

This commit is contained in:
syuilo 2018-07-11 23:59:57 +09:00
parent 5e1a4dc940
commit d23c10f87d

View File

@ -49,7 +49,7 @@ export default async (url: string, user: IUser, folderId: mongodb.ObjectID = nul
try { try {
driveFile = await create(user, path, name, null, folderId, false, config.preventCacheRemoteFiles, url, uri); driveFile = await create(user, path, name, null, folderId, false, config.preventCacheRemoteFiles, url, uri);
log(`created: ${driveFile._id}`); log(`got: ${driveFile._id}`);
} catch (e) { } catch (e) {
error = e; error = e;
log(`failed: ${e}`); log(`failed: ${e}`);