Fix error message formatting
This commit is contained in:
@@ -15,7 +15,7 @@ exports.open = (name, version) => {
|
|||||||
|
|
||||||
request.onupgradeneeded = event =>
|
request.onupgradeneeded = event =>
|
||||||
reject(new Error('Unexpected database upgrade required:' +
|
reject(new Error('Unexpected database upgrade required:' +
|
||||||
`oldVersion: ${event.oldVersion}, newVersion: ${event.newVersion}`));
|
` oldVersion: ${event.oldVersion}, newVersion: ${event.newVersion}`));
|
||||||
|
|
||||||
request.onerror = event =>
|
request.onerror = event =>
|
||||||
reject(event.target.error);
|
reject(event.target.error);
|
||||||
|
Reference in New Issue
Block a user