Catch and prettyprint exceptions even in setup phase

This commit is contained in:
Keith Winstein
2012-02-09 01:45:03 -05:00
parent d8533ca3a6
commit 354dff39c8
3 changed files with 34 additions and 6 deletions
+4
View File
@@ -153,6 +153,10 @@ void STMClient::main_init( void )
void STMClient::output_new_frame( void )
{
if ( !network ) { /* clean shutdown even when not initialized */
return;
}
/* fetch target state */
Terminal::Framebuffer new_state( network->get_latest_remote_state().state.get_fb() );