console.error -> debug

This commit is contained in:
Girish Ramakrishnan
2017-02-07 10:48:51 -08:00
parent b91674799b
commit 53d56ef3a0
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ function getDuplicateErrorDetails(location, portBindings, error) {
var match = error.message.match(/ER_DUP_ENTRY: Duplicate entry '(.*)' for key/);
if (!match) {
console.error('Unexpected SQL error message.', error);
debug('Unexpected SQL error message.', error);
return new AppsError(AppsError.INTERNAL_ERROR);
}