Skip to content

Commit 310cd08

Browse files
wangxiaoleeyeh
authored andcommitted
fix an error log (#399)
1 parent 9ee44fc commit 310cd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const init = (AV) => {
230230
*/
231231
AV._getAVPath = function(path) {
232232
if (!AV.applicationId) {
233-
throw "You need to call AV.initialize before using AV.";
233+
throw new Error('You need to call AV.init() before using AV.');
234234
}
235235
if (!path) {
236236
path = "";

0 commit comments

Comments
 (0)