Skip to content

Commit c4f8c4b

Browse files
authored
Update index.html
1 parent b248be5 commit c4f8c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h2 class="subtitle">{{config.subtitle}}</h2>
393393
let listBucketResult
394394
try {
395395
if (!config.bucketUrl) {
396-
throw Error("Bucket url is undefined!")
396+
throw Error("Bucket URL is undefined!")
397397
}
398398

399399
let bucketListApiUrl = `${config.bucketUrl}?list-type=2`
@@ -412,7 +412,7 @@ <h2 class="subtitle">{{config.subtitle}}</h2>
412412

413413
listBucketResult = new DOMParser().parseFromString(listBucketResultXml, "text/xml")
414414
if (!listBucketResult.querySelector('ListBucketResult > Delimiter')) {
415-
throw Error("bucketUrl is not a valid bucket API URL, response does not contain <ListBucketResult><Delimiter>.")
415+
throw Error(`Bucket URL ${config.bucketUrl} is not a valid bucket API URL, response does not contain <ListBucketResult><Delimiter> tag.`)
416416
}
417417
} catch (error) {
418418
this.$buefy.notification.open({

0 commit comments

Comments
 (0)