mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Merge pull request #1924 from overleaf/ta-full-error
Don't Callback with String GitOrigin-RevId: 82e3efb055ef197d95ff9c8a876bee0d6a0327a3
This commit is contained in:
committed by
sharelatex
parent
c86910a5ef
commit
b1e8cb9cf0
@@ -651,7 +651,7 @@ module.exports = ProjectEntityMongoUpdateHandler = self = {
|
||||
'project too big, stopping insertions'
|
||||
)
|
||||
CooldownManager.putProjectOnCooldown(project._id)
|
||||
return callback('project_has_to_many_files')
|
||||
return callback(new Error('project_has_to_many_files'))
|
||||
}
|
||||
|
||||
return ProjectLocator.findElement(
|
||||
|
||||
Reference in New Issue
Block a user