Skip to content

Commit

Permalink
* Bump version to 14.0.7
Browse files Browse the repository at this point in the history
* Add onerror handler for pushover
  • Loading branch information
sulkaharo authored and tanja3981 committed Nov 15, 2020
1 parent c023385 commit e3ff7dc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion lib/plugins/pushover.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ function setupPushover (env) {

if (apiToken && (userKeys.length > 0 || alarmKeys.length > 0 || announcementKeys.length > 0)) {
var pushoverAPI = new Pushover({
token: apiToken
token: apiToken,
onerror: function(error) {
console.error('Pushover error', error);
}
});

pushoverAPI.apiToken = apiToken;
Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nightscout",
"version": "14.0.6",
"version": "14.0.7",
"description": "Nightscout acts as a web-based CGM (Continuous Glucose Montinor) to allow multiple caregivers to remotely view a patients glucose data in realtime.",
"license": "AGPL-3.0",
"author": "Nightscout Team",
Expand Down
2 changes: 1 addition & 1 deletion swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"info": {
"title": "Nightscout API",
"description": "Own your DData with the Nightscout API",
"version": "14.0.6",
"version": "14.0.7",
"license": {
"name": "AGPL 3",
"url": "https://www.gnu.org/licenses/agpl.txt"
Expand Down
2 changes: 1 addition & 1 deletion swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ servers:
info:
title: Nightscout API
description: Own your DData with the Nightscout API
version: 14.0.6
version: 14.0.7
license:
name: AGPL 3
url: 'https://www.gnu.org/licenses/agpl.txt'
Expand Down

0 comments on commit e3ff7dc

Please sign in to comment.