issues
search
luyadev
/
luya
LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
811
stars
205
forks
source link
error api data
#1939
Closed
nadar
closed
5 years ago
nadar
commented
5 years ago
Add new infos to error api:
YII_ENV
YII_DEBUG
User (Yii::$app->user) id
status code / Severity?
exception name yii\web\NotFoundException
send php version
LUYA_VERSION
provide trace infos (with file() method)
abs_path - The absolute path to filename
context_line - Source code in filename at lineno
pre_context - A list of source code lines before context_line (in order) – usually [lineno - 5:lineno]
post_context - A list of source code lines after context_line (in order) – usually [lineno + 1:lineno + 5]
remove logger and profiling
Add new infos to error api:
remove logger and profiling