Skip to content

Commit 5ec7c82

Browse files
committed
Removed the extra logger from RestWrite.js
1 parent 8e4ac7c commit 5ec7c82

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/RestWrite.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,9 +743,6 @@ RestWrite.prototype._validateUserName = function () {
743743
Parse.Error.USERNAME_TAKEN,
744744
'Account already exists for this username.'
745745
);
746-
if (this.config.logLevels.usernameAlreadyExists !== 'silent') {
747-
logger[this.config.logLevels.usernameAlreadyExists](JSON.stringify(usernameError));
748-
}
749746
throw usernameError;
750747
}
751748
return;

0 commit comments

Comments
 (0)