Skip to content

Commit

Permalink
2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Apr 25, 2020
1 parent 2bc87f6 commit ec02f7d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
14 changes: 13 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "discovery",
"version": "2.3.3",
"version": "2.3.4",
"news": {
"2.3.4": {
"en": "potential crash case fixed",
"de": "Möglicher Crash-Fall behoben",
"ru": "случай возможного сбоя исправлен",
"pt": "possível caso de falha corrigido",
"nl": "mogelijke crash case opgelost",
"fr": "cas de crash potentiel corrigé",
"it": "potenziale caso di crash risolto",
"es": "caso de bloqueo potencial solucionado",
"pl": "naprawiono potencjalną awarię",
"zh-cn": "修复潜在的崩溃案例"
},
"2.3.3": {
"en": "potential crash case fixed",
"de": "Möglicher Crash-Fall behoben",
Expand Down
5 changes: 5 additions & 0 deletions lib/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,11 @@ function httpGet(link, timeout, callback) {
}
timeout = parseInt(timeout, 10) || 500;

if (!link) {
callback && callback('error: no link provided', null, link);
callback = null;
}

try {
const req = HTTP.get(link, res => {
const statusCode = res.statusCode;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.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,7 +1,7 @@
{
"name": "iobroker.discovery",
"description": "This adapter tries to detect devices in local network.",
"version": "2.3.3",
"version": "2.3.4",
"author": "bluefox <[email protected]>",
"contributors": [
"bluefox <[email protected]>",
Expand Down

0 comments on commit ec02f7d

Please sign in to comment.