ziebelje / cora

A lightweight extendable PHP API core
0 stars 0 forks source link

When debugging is off not enough detail is logged in the database #51

Open ghost opened 10 years ago

ghost commented 10 years ago

debug=false needs to log the full error details instead of just what the response was to the end user.

ghost commented 10 years ago

For now I just flipped this to remove the debug info right before return by using cora\get_json_response. I'm not a huge fan of this since the database no longer logs exactly what was returned to the client. Think up a better way...