Removed dynamic access to Error.stack