mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
introduced new exception classes for structured error reporting
This commit is contained in:
@@ -5,8 +5,8 @@ const log = require('../../services/log');
|
||||
const attributeService = require('../../services/attributes');
|
||||
const Attribute = require('../../becca/entities/attribute');
|
||||
const becca = require("../../becca/becca");
|
||||
const ValidationError = require("../../public/app/services/validation_error.js");
|
||||
const NotFoundError = require("../../errors/not_found_error.js");
|
||||
const ValidationError = require("../../errors/validation_error");
|
||||
const NotFoundError = require("../../errors/not_found_error");
|
||||
|
||||
function getEffectiveNoteAttributes(req) {
|
||||
const note = becca.getNote(req.params.noteId);
|
||||
|
||||
Reference in New Issue
Block a user