add more debugging to getProjectAsset

This commit is contained in:
Cassie Tarakajian 2017-11-27 15:43:58 -05:00
parent 3b33f3acca
commit 286c725407
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ export function getProjectAsset(req, res) {
return res.status(404).send({ message: 'Project with that id does not exist' });
}
if (!project) {
console.error(req.url);
console.error(req.params.project_id);
return res.status(404).send({ message: 'Project with that id does not exist' });
}