1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

Improve log

This commit is contained in:
syuilo 2018-07-11 23:59:57 +09:00
parent db42d5b065
commit 0074f8da1b

View File

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