make handleExceptions global across all transports