🔊 N°3811 UI.php : update error log

We had 2 catch blocks that were doing almost the same thing... But the last IssueLog call !

Now we have only one catch block, and the last IssueLog call is for Debug instead of Error : ErrorPage::error is already doing IssueLog::Error, so those extra info are now logged only for debugging purpose (in the 'console' channel)
This commit is contained in:
Pierre Goiffon
2021-03-11 15:03:42 +01:00
parent e49b0db58d
commit 21a6be1bda
2 changed files with 25 additions and 61 deletions

View File

@@ -10,6 +10,9 @@ use Combodo\iTop\Application\UI\Base\Layout\UIContentBlockUIBlockFactory;
*/
/**
* @since 2.7.1 N°2641 class creation
*/
class ErrorPage extends NiceWebPage
{
public function __construct($sTitle)