mirror of https://github.com/cutefishos/appmotor
[launcherlib] Handle failures of resolving main() dynamically
In case where the binary to be invoked is either not a shared library object (e.g. it's a shell script) or when main() cannot be resolved as shared library (because it hasn't been exported as such), instead of abort()ing due to an uncaught exception, handle the exception and print the error message in the log + on the console, and then fail.pull/1/head
parent
85dce78c1b
commit
ef26ef5bf0
Loading…
Reference in New Issue