Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show rollback message or error message in case of missing the accept hook api #354

Open
tequdev opened this issue Aug 31, 2024 · 0 comments

Comments

@tequdev
Copy link
Collaborator

tequdev commented Aug 31, 2024

Issue Description

Steps to Reproduce

#include "hookapi.h"

int64_t hook(uint32_t reserved) {
  _g(1, 1);
  return 0;
}

Expected Result

Actual Result

HookInfo[rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn-rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn]: creating wasm instance
HookInfo[rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn-rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn]: ApiVersion: 0 ROLLBACK RS: '' RC: -1

Environment

Supporting Files

@tequdev tequdev changed the title Show error messages in case of missing the accept hook api Show rollback message or error message in case of missing the accept hook api Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant