RJMetrics/rjm-php-utils — pull request #13 by bi1yeu (2014-12-18 18:11:59+00:00)
Title: Get stack trace string w/o arguments

**Description**
Spurred by [this ticket](https://trello.com/c/5lDkdPlZ/5192-secrets-visible-in-the-exception-logging-section-of-the-admin-panel), we need a way to get an exception's stack trace, but to optionally exclude the parameters, which may contain sensitive values (like pws).

**Functional Test**
- Cause a job exception to be thrown
- Set the `JobErrorDetails` stack trace of the job to be the return val of this fn
- Observe output with and without function args:

![args removed](https://cloud.githubusercontent.com/assets/1185129/5493273/3c30f34e-86b7-11e4-996b-551d916dd203.png)
![args present](https://cloud.githubusercontent.com/assets/1185129/5493274/3c30fce0-86b7-11e4-8717-a52871f192a3.png)