mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Handle error in ExportsController
This commit is contained in:
@@ -8,6 +8,7 @@ module.exports =
|
||||
{project_id, brand_variation_id} = req.params
|
||||
user_id = AuthenticationController.getLoggedInUserId(req)
|
||||
ExportsHandler.exportProject project_id, user_id, brand_variation_id, (err, export_data) ->
|
||||
return next(err) if err?
|
||||
logger.log
|
||||
user_id:user_id
|
||||
project_id: project_id
|
||||
|
||||
Reference in New Issue
Block a user