Checking if hb.on_message instead of hb.on_log is a nullptr before calling hb.on_message
This is functionally no different as on_log is set at the same time, but checking on_message was likely the intent.
Default hb.logger to OS_LOG_DEFAULT to fix logging on apple
Changes include:
package-lock.json
hb.on_message
instead ofhb.on_log
is anullptr
before callinghb.on_message
This is functionally no different as
on_log
is set at the same time, but checkingon_message
was likely the intent.hb.logger
toOS_LOG_DEFAULT
to fix logging on apple