Skip to content

cdp_error_log

Get unhandled JS errors and promise rejections. Hooked into ErrorUtils and Hermes rejection tracker. If empty but app crashed, the error is NATIVE — use bash logcat/simctl log instead.

NameTypeRequiredDefaultConstraintsDescription
clearbooleanNofalseClear all captured errors instead of reading them
cdp_error_log()