summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/util/vm/VboxConfig.java
diff options
context:
space:
mode:
authorChristopher Lucas2018-12-05 17:45:04 +0100
committerChristopher Lucas2018-12-05 17:45:04 +0100
commit888f9e490cc3f03cc9399f779344c25d3082eafa (patch)
tree041d8a5a6dc02c1647cf0d8ec764873f1c5e14b4 /src/main/java/org/openslx/util/vm/VboxConfig.java
parent[thrift] Sat interface for getting predefined shares/filters (diff)
downloadmaster-sync-shared-888f9e490cc3f03cc9399f779344c25d3082eafa.tar.gz
master-sync-shared-888f9e490cc3f03cc9399f779344c25d3082eafa.tar.xz
master-sync-shared-888f9e490cc3f03cc9399f779344c25d3082eafa.zip
Upload and Download image with config file working
Diffstat (limited to 'src/main/java/org/openslx/util/vm/VboxConfig.java')
-rw-r--r--src/main/java/org/openslx/util/vm/VboxConfig.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/util/vm/VboxConfig.java b/src/main/java/org/openslx/util/vm/VboxConfig.java
index fe85638..9d6e6f1 100644
--- a/src/main/java/org/openslx/util/vm/VboxConfig.java
+++ b/src/main/java/org/openslx/util/vm/VboxConfig.java
@@ -101,7 +101,9 @@ public class VboxConfig
}
} catch ( SAXException e ) {
LOGGER.error( "Selected vbox file was not validated against the XSD schema: " + e.getMessage() );
- }
+ } catch ( Exception e) {
+ LOGGER.error( "Some error occured while trying to parse select virtualbox machine files: " + e.getMessage() );
+ }
// valid xml, try to create the DOM
doc = XmlHelper.parseDocumentFromStream( new FileInputStream( file ) );
doc = XmlHelper.removeFormattingNodes( doc );