mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Disable errors obfuscation (no-changelog) (#10617)
This commit is contained in:
@@ -264,7 +264,7 @@ export function configureQueryRunner(
|
||||
} catch (err) {
|
||||
const error = parseMySqlError.call(this, err, 0, formatedQueries);
|
||||
|
||||
if (!this.continueOnFail(err)) throw error;
|
||||
if (!this.continueOnFail()) throw error;
|
||||
returnData.push({ json: { message: error.message, error: { ...error } } });
|
||||
}
|
||||
} else {
|
||||
@@ -302,7 +302,7 @@ export function configureQueryRunner(
|
||||
} catch (err) {
|
||||
const error = parseMySqlError.call(this, err, index, [formatedQuery]);
|
||||
|
||||
if (!this.continueOnFail(err)) {
|
||||
if (!this.continueOnFail()) {
|
||||
connection.release();
|
||||
throw error;
|
||||
}
|
||||
@@ -352,7 +352,7 @@ export function configureQueryRunner(
|
||||
connection.release();
|
||||
}
|
||||
|
||||
if (!this.continueOnFail(err)) throw error;
|
||||
if (!this.continueOnFail()) throw error;
|
||||
returnData.push(prepareErrorItem(queries[index], error as Error, index));
|
||||
|
||||
// Return here because we already rolled back the transaction
|
||||
|
||||
Reference in New Issue
Block a user