Merge pull request #1923 from overleaf/ta-error-log-level

Reduce Log Level

GitOrigin-RevId: 63a8859e6b78cb0774a28069089f4bce73eb91ec
This commit is contained in:
Timothée Alby
2019-07-01 15:48:09 +02:00
committed by sharelatex
parent cf940cc835
commit e73a5d9103
106 changed files with 335 additions and 282 deletions
@@ -88,6 +88,7 @@ describe('ProjectEntityUpdateHandler', function() {
requires: {
'logger-sharelatex': (this.logger = {
log: sinon.stub(),
warn: sinon.stub(),
error: sinon.stub(),
err() {}
}),
@@ -446,7 +447,7 @@ describe('ProjectEntityUpdateHandler', function() {
})
it('should log out the error', function() {
return this.logger.error
return this.logger.warn
.calledWith(
{
project_id,