]> git.basschouten.com Git - openhab-addons.git/commit
[rrd4j] Error handling for broken rrd4j files (#13955)
authorHolger Friedrich <holgerfriedrich@users.noreply.github.com>
Thu, 15 Dec 2022 10:31:20 +0000 (11:31 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Dec 2022 10:31:20 +0000 (11:31 +0100)
commit6ab0561382e0b481173d76709badb29daba06241
tree09ae2b1372930337cbfa71a6be8de4396b50a0d5
parent04f059c4555cfc3c3e3110e5ba455bcad6d2e274
[rrd4j] Error handling for broken rrd4j files (#13955)

* [rrd4j] Error handling for broken rrd4j files

Catch exceptions thrown by getDB(..) and print the name of the affected
database file. This allows to identify a broken rrd4j file.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
bundles/org.openhab.persistence.rrd4j/src/main/java/org/openhab/persistence/rrd4j/internal/RRD4jPersistenceService.java