add error message output for deleting fees action
This commit is contained in:
@@ -151,6 +151,7 @@ const addFees = (req, res) => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
console.log(error);
|
||||||
res.status(500).send(error);
|
res.status(500).send(error);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
@@ -159,6 +160,7 @@ const addFees = (req, res) => {
|
|||||||
res.status(500).send(error);
|
res.status(500).send(error);
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
console.log('Date range is missing to send fees to ORD');
|
||||||
res.status(400).send('Date range is missing');
|
res.status(400).send('Date range is missing');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user