refactor: Reactivate workflow locking (#4770)

* feat: Reenable workflow locking

Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
This commit is contained in:
Omar Ajoue
2022-12-06 09:25:39 +01:00
committed by GitHub
parent 915f1445c2
commit 4813da547d
19 changed files with 249 additions and 118 deletions

View File

@@ -41,8 +41,8 @@ abstract class ResponseError extends Error {
}
export class BadRequestError extends ResponseError {
constructor(message: string) {
super(message, 400);
constructor(message: string, errorCode?: number) {
super(message, 400, errorCode);
}
}