neoagent 2.3.1-beta.89 → 2.3.1-beta.90

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.
@@ -27,7 +27,12 @@ async function main() {
27
27
  } catch {}
28
28
  }
29
29
  try {
30
- console.error('[Android] Bootstrap worker failed:', error?.message || error);
30
+ console.error('[Android] Bootstrap worker failed:', {
31
+ message: error?.message || String(error),
32
+ code: error?.code || null,
33
+ details: error?.details || null,
34
+ stack: error?.stack || null,
35
+ });
31
36
  } catch {}
32
37
  process.exit(1);
33
38
  }
@@ -35,14 +40,24 @@ async function main() {
35
40
 
36
41
  process.on('unhandledRejection', (error) => {
37
42
  try {
38
- console.error('[Android] UnhandledRejection in bootstrap worker:', error?.message || error);
43
+ console.error('[Android] UnhandledRejection in bootstrap worker:', {
44
+ message: error?.message || String(error),
45
+ code: error?.code || null,
46
+ details: error?.details || null,
47
+ stack: error?.stack || null,
48
+ });
39
49
  } catch {}
40
50
  process.exit(1);
41
51
  });
42
52
 
43
53
  main().catch((error) => {
44
54
  try {
45
- console.error('[Android] Bootstrap worker crashed:', error?.message || error);
55
+ console.error('[Android] Bootstrap worker crashed:', {
56
+ message: error?.message || String(error),
57
+ code: error?.code || null,
58
+ details: error?.details || null,
59
+ stack: error?.stack || null,
60
+ });
46
61
  } catch {}
47
62
  process.exit(1);
48
63
  });