Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26870] LiveView: Errors during the general build process show up via LiveView flagged logs

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.0.0, Release 8.1.0
Fix Version/sn/a
Componentsn/a
LabelsengSchedule
ReporterEwan Harris
AssigneeEwan Harris
Created2019-02-28T14:32:19.000+0000
Updated2021-02-22T20:01:32.000+0000

Description

Description

In TIMOB-26869 it was confusing as the error log stated LiveView but it wasn't actually related to LiveView, something like this could (and probably has) waste dev cycles debugging an error in the wrong place. LiveView attaches an uncaughtException handler here https://github.com/appcelerator/liveview/blob/099cc1a0fc8870853db279274121cab65ca01aae/lib/fserver.js#L505, now that we're no longer spawning the server this is attaching onto the main process and claiming errors from the build scripts

Comments

  1. Ewan Harris 2020-03-06

    When this is changed need to investigate the this doesn't cause errors to be hidden from a user, it might be that we need to move this handler up to titanium

JSON Source