Skip to content

Commit

Permalink
Catch errors to prevent termination
Browse files Browse the repository at this point in the history
  • Loading branch information
DEV2DEV-DE committed Jan 26, 2024
1 parent a128a72 commit 94757b9
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 70 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ You need to re-enter your password in the instance settings if you already used
### **WORK IN PROGRESS**
* Catch EAI_AGAIN
* Automatic refresh of session-id
* Changed headers to prevent caching
* Catch other HTTP errors

### 0.1.0 (2023-12-10)
* Fixed issue with restarts due to timeouts
Expand Down
1 change: 1 addition & 0 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Benutzername",
"password": "Kennwort",
"pollInterval": "Abfrageintervall (in Sekunden)",
"logResponse": "Antworten protokollieren (nur für Debugging)",
"labelRead": "Vom Server zu lesende Datensegmente:"
}
1 change: 1 addition & 0 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
1 change: 1 addition & 0 deletions admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"username": "Username",
"password": "Password",
"pollInterval": "Polling interval (in seconds)",
"logResponse": "Log response (debug only)",
"labelRead": "Select data segments to be read from server:"
}
9 changes: 7 additions & 2 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,19 @@
},
"pollInterval": {
"type": "number",
"label": "Poll Interval (seconds)",
"label": "pollInterval",
"newLine": true,
"min": 5,
"max": 300
},
"logResponse": {
"type": "checkbox",
"label": "logResponse",
"newLine": true
},
"labelRead": {
"type": "header",
"text": "Select the objects to be read from server:",
"text": "labelRead",
"size": 3
},
"readSections": {
Expand Down
1 change: 1 addition & 0 deletions io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"username": "",
"password": "",
"pollInterval": 10,
"logResponse": false,
"readSections": true,
"readProgrammableGates": true,
"readThermoDevices": false
Expand Down
Loading

0 comments on commit 94757b9

Please sign in to comment.