Add stderr logging for exceptions in Rhubarb for Spine

This commit is contained in:
Daniel Wolf 2018-03-29 09:46:30 +02:00
parent 5169e3e46e
commit b94d894c36
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# Version history # Version history
## Unreleased
* Internal errors in Rhubarb Lip Sync for Spine are logged to stderr
## Version 1.7.0 ## Version 1.7.0
* Integration with Spine animation software * Integration with Spine animation software

View File

@ -162,6 +162,8 @@ class AudioFileModel(
} }
} catch (e: InterruptedException) { } catch (e: InterruptedException) {
} catch (e: Exception) { } catch (e: Exception) {
e.printStackTrace(System.err);
Platform.runLater { Platform.runLater {
Alert(Alert.AlertType.ERROR).apply { Alert(Alert.AlertType.ERROR).apply {
headerText = "Error performing lip sync for event '$eventName'." headerText = "Error performing lip sync for event '$eventName'."