protect when Error does not have a "stack"
Merge pull request #7 from dannyrscott/master

protect when Error does not have a "stack"