Add log when we didn't close a project due to another client

This commit is contained in:
Julien Duponchelle 2015-06-12 15:14:30 +02:00
parent 4e16433a08
commit f39f7be503

View File

@ -141,6 +141,8 @@ class ProjectHandler:
if ProjectHandler._notifications_listening == 0:
yield from project.close()
pm.remove_project(project.id)
else:
log.info("Skip project closing, another client is listening for project informations")
response.set_status(204)
@classmethod