craftcms / element-api

Create a JSON API/Feed for your elements in Craft.
MIT License
498 stars 56 forks source link

log errors thrown in default action - Fixes #117 #139

Closed yoannisj closed 3 years ago

yoannisj commented 3 years ago

Description

Logs errors thrown in the element API's default controller action using Craft::error and \yii\base\ErrorHandler::logException().

Related issues

117

brandonkelly commented 3 years ago

Thanks! Just released 2.7.0 with this change.