Skip to content

Commit

Permalink
fix(MySQL): missing error details on mysql importer with some exceptione
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Aug 1, 2023
1 parent f120af2 commit 7b1cb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/libs/importers/sql/MySQLlImporter.ts
Expand Up @@ -47,7 +47,7 @@ export default class MySQLImporter extends BaseImporter {
catch (error) {
this.emit('query-error', {
sql: query,
message: error.sqlMessage,
message: error.sqlMessage || error.message,
sqlSnippet: error.sql,
time: new Date().getTime()
});
Expand Down

0 comments on commit 7b1cb4f

Please sign in to comment.