mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 15:45:58 +09:00
Improve log
This commit is contained in:
parent
db42d5b065
commit
0074f8da1b
@ -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}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user