mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Convert verbose to debug logs (#10574)
This commit is contained in:
@@ -309,7 +309,7 @@ export class WorkflowsController {
|
||||
);
|
||||
|
||||
if (!workflow) {
|
||||
this.logger.verbose('User attempted to access a workflow without permissions', {
|
||||
this.logger.warn('User attempted to access a workflow without permissions', {
|
||||
workflowId,
|
||||
userId: req.user.id,
|
||||
});
|
||||
@@ -362,7 +362,7 @@ export class WorkflowsController {
|
||||
|
||||
const workflow = await this.workflowService.delete(req.user, workflowId);
|
||||
if (!workflow) {
|
||||
this.logger.verbose('User attempted to delete a workflow without permissions', {
|
||||
this.logger.warn('User attempted to delete a workflow without permissions', {
|
||||
workflowId,
|
||||
userId: req.user.id,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user