mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-09-30 13:39:35 +02:00
fix: Remove duplicate error reporting for endpoints (no-changelog) (#11959)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
1 parent
f258cebe53
commit
fb5cf4beea
14 files changed
+95
-27
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { ResponseError } from './abstract/response.error';
|
||||
|
||||
export class InternalServerError extends ResponseError {
|
||||
constructor(message: string, errorCode = 500) {
|
||||
super(message, 500, errorCode);
|
||||
constructor(message: string, cause?: unknown) {
|
||||
super(message, 500, 500, undefined, cause);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user