Mike Fulcher
Mike Fulcher
Another option, although not as independent, is to combine log.js with [stacktrace.js](https://github.com/eriwen/javascript-stacktrace). Here's the modified `_log` function from log.js source (this is also only tested in Chrome and only with...
See my fork at https://github.com/6twenty/log/commit/249864da2a39d80f7abd4774a11d8858a40af37c for a working example (coffeescript version updated too, but with a typo which is fixed in https://github.com/6twenty/log/commit/5f0f16820eb35c060e42dbf41a6ef8db4a5266d6).
Updated the PR code and description as I discovered that you can't do `error instanceof NoTargetError` - the way that Coffeescript compiled the original source code means that NoTargetError doesn't...
@leavengood we implemented this as part of a refactor for a specific area in our app. We had fallen into the very traps described in @cypriss's [post introducing Mutations](https://developer.uservoice.com/blog/2013/02/27/introducing-mutations-putting-soa-on-rails-for-security-and-maintainability/): we...
P.S. the issue template says to add a bug or feature tag, but it's not possible for me to add any tags at all.
Looks like the base branches on this PR have gotten messed up so this doesn't appear to be in a mergeable state. It's been well over a year, this PR...