Skip to content

Commit

Permalink
https://github.com/mage2pro/core/issues/311
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 2, 2023
1 parent 4a286a1 commit 25e71c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OAuth/ReturnT.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ abstract protected function _execute():void;
*/
function execute():Redirect {
try {$this->_execute();}
catch (\Exception $e) {df_log($e); df_message_error($e);}
# 2023-08-02 "Treat `\Throwable` similar to `\Exception`": https://github.com/mage2pro/core/issues/311
catch (\Throwable $th) {df_log($th); df_message_error($th);}
$this->postProcess();
return $this->resultRedirectFactory->create()->setUrl($this->redirectUrl());
}
Expand Down

0 comments on commit 25e71c9

Please sign in to comment.