Errors and Echoes
Anonymous error reporting for Foundry VTT modules to help authors improve their modules.
Overviewโ
Errors and Echoes is a privacy-focused error reporting system for Foundry VTT that helps module developers identify and fix issues in their modules. The system captures JavaScript errors, promise rejections, console errors, and Foundry hook errors, then reports them to configured endpoints with sophisticated module attribution and privacy controls.
๐ Privacy First: All error reporting is opt-in only with granular privacy controls. The module never swallows errors - all errors remain visible to users in the console and dev tools.
Key Featuresโ
- Anonymous Error Reporting: No personally identifiable information is collected
- Sophisticated Module Attribution: Advanced stack trace analysis to identify which module caused an error
- Granular Privacy Controls: Three privacy levels from minimal to detailed data collection
- Rate Limiting & Deduplication: Prevents spam and respects user bandwidth
- Foundry-Native Integration: Built on Foundry's settings system with proper GM-only controls
- Never Swallows Errors: All errors remain visible to users - reporting happens in addition to normal error display
Implementation Statusโ
Feature | Status | Notes |
---|---|---|
๐ Error Capture | โ Complete | Captures JavaScript errors, promise rejections, console errors, and hook errors |
๐ท๏ธ Module Attribution | โ Complete | Advanced stack trace analysis and hook context detection |
๐ Privacy Controls | โ Complete | Three privacy levels with granular consent management |
โ๏ธ Settings UI | โ Complete | Foundry-native configuration interface with registered modules display |
๐ Manual Reporting | โ Complete | Direct error reporting API for modules |
๐ Module Registration API | โ Complete | Full registration system with context providers and filters |
๐งช Testing Infrastructure | โ ๏ธ Beta | Test framework established (currently requires setup fixes) |
Quick Startโ
For module developers who want to get started quickly:
- Installation Guide - Get Errors and Echoes set up in your Foundry instance
- Module Integration - Register your module for enhanced error reporting
- API Reference - Complete API documentation and examples
Privacy and Consentโ
Error reporting is completely opt-in and privacy-focused:
- No PII Collection: Never collects usernames, email addresses, IP addresses, or other personally identifiable information
- GM-Only Control: Only Game Masters can enable error reporting for their world
- Granular Privacy Levels: Choose from Minimal, Standard, or Detailed data collection
- User Transparency: All collected data is clearly documented and users have full control
For Module Authorsโ
Errors and Echoes provides a complete error reporting ecosystem:
- Registration API - Register your module with context providers and error filters
- Endpoint Setup - Set up your own error reporting endpoint
- Privacy Guidelines - Best practices for privacy-compliant error reporting
Reference Implementationโ
A complete reference implementation for error reporting endpoints is available at sentry-relay, demonstrating integration with Sentry for production error monitoring.
Current Status and Roadmapโ
Beta Release Statusโ
Errors & Echoes is currently in beta with core functionality working but some areas needing refinement:
โ Working Features:
- Error capture and attribution system
- Privacy controls and consent management
- Module registration API
- Settings UI with registered module display
- Production infrastructure at https://errors.rayners.dev
โ ๏ธ Known Issues:
- Test suite requires setup fixes to run properly
- Module registration examples need real-world validation
- Documentation may have gaps compared to implementation
๐ Next Priorities:
- Fix test infrastructure for reliable quality assurance
- Validate integration examples with popular modules
- Improve error attribution accuracy based on real usage
- Add comprehensive module compatibility testing
Upcoming Featuresโ
v0.2.0 Planned:
- Enhanced error attribution with machine learning patterns
- Real-time error analytics and pattern detection
- Additional context providers for common debugging scenarios
- Improved module compatibility and integration testing
v0.3.0 Planned:
- Advanced filtering capabilities with smart noise reduction
- Internationalization support for multiple languages
- Integration with Foundry package browser for seamless setup
- Performance optimizations based on production usage data
Community and Supportโ
- GitHub Repository: fvtt-errors-and-echoes
- Issues and Feature Requests: Use GitHub Issues for bug reports and feature requests
- Community Discussion: Join the discussion on Discord
Legal and Complianceโ
This module complies with GDPR and other privacy regulations. See the Privacy Policy and Legal Compliance documentation for details.