mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 13:07:47 +01:00
Improve log
This commit is contained in:
parent
db42d5b065
commit
0074f8da1b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue