Surely, in production use you don’t want to show any error to the user. In simple way, you can set debug to false:
/app/config/app.php
return array ( 'debug' => false, [...] )
For complete setting for development and production, you can try;
/app/bootstrap/start.php
$env = $app->detectEnvironment(array(
'local' => array('localURL.com'),
'production' => array('productionURL.com')
));
Define your file/folder configuration for every situation (development/production):
app
app/config
app/config/local
app/config/local/app.php
app/config/local/database.php
app/config/production
app/config/production/app.php
app/config/production/database.php