Fixed traceback-related bugs

- fixed misisng traceback bug in client;
- fixed missing traceback bug in Yii error handler