improve log

This commit is contained in:
syuilo 2025-05-28 19:01:21 +09:00
parent 9bbc2028ad
commit 825c337cf4
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ export class DriveService {
return info.type.mime === mimeType;
});
if (!isAllowed) {
throw new IdentifiableError('bd71c601-f9b0-4808-9137-a330647ced9b', 'Unallowed file type.');
throw new IdentifiableError('bd71c601-f9b0-4808-9137-a330647ced9b', `Unallowed file type: ${info.type.mime}`);
}
const driveCapacity = 1024 * 1024 * policies.driveCapacityMb;