mirror of
https://github.com/HeyPuter/puter.git
synced 2026-04-30 12:10:12 -05:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user