Skip to content

Commit 6629c86

Browse files
authored
createProtocol: Fix read error message (#729)
1 parent ed3126f commit 6629c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/createProtocol.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default scheme => {
1212

1313
readFile(path.join(__dirname, pathName), (error, data) => {
1414
if (error) {
15-
console.error(`Failed to register ${scheme} protocol`, error)
15+
console.error(`Failed to read ${pathName} on ${scheme} protocol`, error)
1616
}
1717
let extension = path.extname(pathName).toLowerCase()
1818
let mimeType = ''

0 commit comments

Comments
 (0)