Improved error message formatting

This commit is contained in:
Daniel Wolf 2018-02-07 20:49:35 +01:00
parent dd1884432c
commit f3de163d72
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ class AudioFileModel(
} catch (e: Exception) { } catch (e: Exception) {
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'."
contentText = e.toString() contentText = e.message
show() show()
} }
} }