Skip to content

Commit

Permalink
Added sentry error reporting
Browse files Browse the repository at this point in the history
Also added creation of sourcemaps and sentry realeases on tags
  • Loading branch information
crycode-de committed Nov 23, 2020
1 parent d638082 commit 7e93e25
Show file tree
Hide file tree
Showing 28 changed files with 73 additions and 13 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,18 @@ jobs:
# Prerelease versions create prereleases on Github
prerelease: ${{ contains(steps.extract_release.outputs.VERSION, '-') }}
body: ${{ steps.extract_release.outputs.BODY }}

# Sentry Release
# see https://github.com/marketplace/actions/create-a-sentry-io-release
- name: Create Sentry Release
uses: tclindner/[email protected]
env:
SENTRY_URL: https://sentry.cryhost.de/
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
tagName: ${{ steps.extract_release.outputs.VERSION }}
releaseNamePrefix: canbus@
sourceMapOptions: '{"include": ["build", "admin/build"]}'
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

This adapter connects ioBroker to a Controller Area Network (CAN bus).

**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.
## Features

* Receive and send raw messages using standard frames and extended frames
Expand Down Expand Up @@ -59,6 +60,8 @@ By writing JSON data to the `raw.send` state you are able to send CAN messages c

## Changelog

### 1.0.0-beta.2 (2020-11-23)
* (crycode-de) Added Sentry error reporting
### 1.0.0-beta.1 (2020-11-17)
* (crycode-de) Added optional raw states.
* (crycode-de) Added option to enable/disable rtr states.
Expand All @@ -73,6 +76,6 @@ By writing JSON data to the `raw.send` state you are able to send CAN messages c

## License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

Copyright (c) 2020 Peter Müller <[email protected]> (https://crycode.de/)
18 changes: 9 additions & 9 deletions admin/build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/build/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/can-interface.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/can-interface.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/consts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/consts.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/helpers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/helpers.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/lib/tools.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/lib/tools.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/main.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/parsers/base.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/parsers/base.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/parsers/boolean.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7e93e25

Please sign in to comment.