Enhanced Error Logging

Digiko includes a comprehensive error logging system that helps users report issues with complete debugging information. When errors occur, users can easily copy detailed logs to send to support for faster resolution.

Error Modal Features

When an error occurs during staking, swapping, or other operations, a modal appears with:

  • Clear error message: User-friendly explanation of what went wrong
  • "Copy Debug Log" button: One-click copy of complete error information
  • "Show Technical Details": Collapsible section showing captured debug data

What Gets Captured

The debug log includes comprehensive information for troubleshooting:

Error title and message
Timestamp and exact location (page/route)
User's wallet address (truncated for privacy)
Browser, OS, and device information
Network (mainnet/testnet)
App version
Transaction details (if applicable)
API request/response (if applicable)

How to Report Issues

  1. 1When an error occurs
    The error modal appears with the error message and details.
  2. 2Click "Copy Debug Log"
    The button will show a green checkmark and copy all debugging information to your clipboard.
  3. 3Send to support
    Paste the log in your message to support. This provides everything needed to diagnose and fix the issue quickly.

Privacy & Security

Your wallet address is automatically truncated (e.g., klv1abc7...def456) for privacy. Private keys and seed phrases are never captured or transmitted. The debug log only includes information necessary for troubleshooting technical issues.

Debug Mode (Development)

For testing purposes, developers can enable debug mode by adding ?debug=true to any URL. This displays a floating debug menu that allows forcing specific error scenarios to test the error logging system.

Debug mode is only available in development environments and does not appear in production.