Добавлена обработка и логгирование ошибок для очереди задач

This commit is contained in:
ErickSkrauch
2017-11-29 02:38:11 +03:00
parent ea033f70bc
commit 868ee1c61c
2 changed files with 23 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ return [
'urlManager' => [
'hostInfo' => getenv('DOMAIN') ?: 'https://account.ely.by',
],
'queue' => [
'on afterError' => [new console\components\ErrorHandler(), 'handleQueueError'],
],
],
'controllerMap' => [
'migrate' => [