Skip to content

Commit

Permalink
Report app version to Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
aivus committed Sep 19, 2024
1 parent 1e58374 commit 94b9477
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ const { Log } = require('homey-log');
class GreeHVAC extends Homey.App {

async onInit() {
this.homeyLog = new Log({ homey: this.homey, options: { autoBreadcrumbs: true } });
this.homeyLog = new Log({
homey: this.homey,
options: {
autoBreadcrumbs: true,
release: Homey.manifest.version,
},
});
this.log('Gree HVAC app is up and running...');

// Register conditions for flows
Expand Down

0 comments on commit 94b9477

Please sign in to comment.