mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Add debug logs for upload settings presence
This commit is contained in:
1 parent
e53d15d71a
commit
69dc281c04
2 files changed
+37
-1
No files matched your search
@@ -1037,6 +1037,15 @@ class R2Service {
|
||||
key,
|
||||
onProgress,
|
||||
} = {}) {
|
||||
devLogger.debug("r2Service.uploadFile validation inputs", {
|
||||
hasFile: Boolean(file),
|
||||
hasBucket: Boolean(bucket),
|
||||
hasKey: Boolean(key),
|
||||
hasAccountId: Boolean(accountId),
|
||||
hasEndpoint: Boolean(endpoint),
|
||||
hasAccessKeyId: Boolean(accessKeyId),
|
||||
hasSecretAccessKey: Boolean(secretAccessKey),
|
||||
});
|
||||
if (
|
||||
!file ||
|
||||
!bucket ||
|
||||
|
||||
Reference in new issue
Block a user