Skip to content

Commit

Permalink
added debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mschlgl committed May 17, 2024
1 parent 8b43873 commit 57e604d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ class Extron extends utils.Adapter {
* called to set up the database dependant on the device type
*/
async createDatabaseAsync() {
this.log.debug(`createDatabaseAsync(): start`);
try {
// add instanceName to database
const instanceObj = await this.getForeignObjectAsync(`system.adapter.${this.namespace}`);
Expand Down Expand Up @@ -1091,6 +1092,7 @@ class Extron extends utils.Adapter {
} catch (err) {
this.errorHandler(err, 'createDatabase');
}
this.log.debug(`createDatabaseAsync(): completed`);
}

/**
Expand Down

0 comments on commit 57e604d

Please sign in to comment.