introduced new exception classes for structured error reporting

This commit is contained in:
zadam
2022-12-09 16:13:22 +01:00
parent 342ae6e5e2
commit dfb462cf35
35 changed files with 48 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ const opmlExportService = require('../../services/export/opml');
const becca = require('../../becca/becca');
const TaskContext = require("../../services/task_context");
const log = require("../../services/log");
const NotFoundError = require("../../errors/not_found_error.js");
const NotFoundError = require("../../errors/not_found_error");
function exportBranch(req, res) {
const {branchId, type, format, version, taskId} = req.params;