mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 23:28:39 +08:00
commit
1416807c9d
@ -703,7 +703,7 @@ class UI extends EventListener {
|
||||
if (this.getEntriesFromDataTransferItems.didShowInfo) return
|
||||
if (err.name !== 'EncodingError') return
|
||||
this.getEntriesFromDataTransferItems.didShowInfo = true
|
||||
const infoMsg = `${err.name} occured within datatransfer-files-promise module\n`
|
||||
const infoMsg = `${err.name} occurred within datatransfer-files-promise module\n`
|
||||
+ `Error message: "${err.message}"\n`
|
||||
+ 'Try serving html over http if currently you are running it from the filesystem.'
|
||||
console.warn(infoMsg)
|
||||
@ -1071,4 +1071,4 @@ class UI extends EventListener {
|
||||
}
|
||||
}
|
||||
|
||||
export default UI
|
||||
export default UI
|
||||
|
Loading…
Reference in New Issue
Block a user