Skip to content

Commit

Permalink
fix: empty catch block for primary key rule
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy committed Feb 23, 2022
1 parent 6f73f67 commit 9d5ba5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/database/lib/dialects/mysql/index.js
Expand Up @@ -36,7 +36,7 @@ class MysqlDialect extends Dialect {
try {
await this.db.connection.raw(`set session sql_require_primary_key = 0;`);
} catch (err) {
console.error({ err });
// Ignore error due to lack of session permissions
}
}

Expand Down

0 comments on commit 9d5ba5b

Please sign in to comment.