brave-real-browser-mcp-server 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/errors/index.js +3 -0
- package/package.json +1 -1
package/dist/errors/index.js
CHANGED
|
@@ -316,6 +316,9 @@ export function categorizeError(error) {
|
|
|
316
316
|
if (message.includes('session closed') || message.includes('target closed')) {
|
|
317
317
|
return createProtocolErrorFromPuppeteer(err);
|
|
318
318
|
}
|
|
319
|
+
if (message.includes('protocol error') || message.includes('protocol')) {
|
|
320
|
+
return createProtocolErrorFromPuppeteer(err);
|
|
321
|
+
}
|
|
319
322
|
// Element errors
|
|
320
323
|
if (message.includes('element') || message.includes('selector')) {
|
|
321
324
|
if (message.includes('not found') || message.includes('no node')) {
|