Skip to content

Commit db502aa

Browse files
committed
use error not data as exception message
1 parent bc99f22 commit db502aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function Local(){
6060
}
6161
}
6262

63-
if(error) throw new LocalError(data);
63+
if(error) throw new LocalError(error);
6464
callback();
6565
});
6666
};

0 commit comments

Comments
 (0)