Api-platform: Disable trace data

Created on 8 Sep 2017  路  2Comments  路  Source: api-platform/api-platform

Please how can i disable trace data, when an error occure, like 'Not found' exception ?
Thanks

question

All 2 comments

Switch to prod environment 馃槈

thanks, i found much easier
in app_dev.php, set dev debug environment to false
$kernel = new AppKernel('dev', false);

Was this page helpful?
0 / 5 - 0 ratings

Related issues

john-dufrene-dev picture john-dufrene-dev  路  3Comments

benbender picture benbender  路  4Comments

achref-riahi picture achref-riahi  路  3Comments

irmantas picture irmantas  路  3Comments

kswzr picture kswzr  路  3Comments