mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
created repository object to access entities
This commit is contained in:
@@ -56,7 +56,7 @@ app.use((req, res, next) => {
|
||||
|
||||
// error handler
|
||||
app.use((err, req, res, next) => {
|
||||
log.error(err.message);
|
||||
log.info(err);
|
||||
|
||||
res.status(err.status || 500);
|
||||
res.send({
|
||||
|
||||
Reference in New Issue
Block a user