Skip to content

Commit

Permalink
Node dies if a voice can't be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyR committed May 7, 2014
1 parent 293c7c4 commit 028e8cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cerevoice_tts/src/cerevoice_tts_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ int main(int argc, char **argv)
ros::init(argc, argv, "tts_node");

cerevoice_tts::CerevoiceTts tts;
tts.init();
bool initialized = tts.init();

if(!initialized)
return EXIT_FAILURE;

ros::spin();

Expand Down

0 comments on commit 028e8cd

Please sign in to comment.