lt: better error handling

Let node handle the displaying of error and setting exit code.