mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #576 from sharelatex/mm-handle-export-error
Handle error in ExportsController
This commit is contained in:
commit
29f7ce0bbf
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue