Removed dynamic access to Error.stack property