Skip to content

Commit

Permalink
Add Sentry logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTerBeke committed Jun 11, 2024
1 parent 0329e75 commit 10ef252
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": "athom"
}
"extends": "athom",
"strict": "off"
}
9 changes: 6 additions & 3 deletions app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ import sourceMapSupport from 'source-map-support'
sourceMapSupport.install()

import { App } from 'homey'
const { Log } = require('homey-log')

class UponorApp extends App {
async onInit() {
this.log('UponorApp is running...')
}
async onInit() {
// @ts-ignore TS2339
this.homeyLog = new Log({ homey: this.homey })
this.log('UponorApp is running...')
}
}

module.exports = UponorApp

0 comments on commit 10ef252

Please sign in to comment.