Hola.
If you use Windows you will be able to change the default application for certain things like writing emails, but keep in mind that if you use Gmail from the browser, this is not an application but a web page, so you will not be able to configure it in Windows.
If you have your Gmail account configured in Thunderbird, Outlook (the installable program) or another application, then you will be able to choose which of these will be the default.
--
You could also copy the error information to the clipboard (instead of the “send” option). Then you could open your Gmail from the browser and just paste the information.
Saludos,
Pepe.